General Category > Help for ParamQuery Pro

Why are cells marked as dirty with updateRow track: false?

(1/1)

omerix:
Hello paramquery team,

Even though I set track: false, the updated cells are still marked as dirty (e.g., red triangle).
How can I prevent cells from being marked as dirty after updateRow?



--- Code: ---        grid.updateRow({
          rowList: [{
            rowIndx: ri,
            track: false,
            history: false,
            checkEditable: false,
            refresh: true,
            newRow: res.data
          }]
        });

--- End code ---

res json

--- Code: ---{
  "pr": 0,
  "data": {
    "dr": 0,
    "on": 1,
    "kbl": 20,
    "lock": false
  }
}

--- End code ---

Thanks!



paramvir:
Please pass the params correctly


--- Code: ---        grid.updateRow({
            track: false,
            history: false,
            checkEditable: false,
            refresh: true,
            rowList: [{
              rowIndx: ri,
              newRow: res.data
            }]
        });

--- End code ---

Navigation

[0] Message Index

Go to full version