I am using “enablePartialDataSend” so I don’t send all columns to the server. But there is a column I would like to send every time (it’s actually a read-only column). I know I can query it from the database, but it’s more convenient if I can just send it all the time. Any help is appreciated!
You can do the next after data loading
grid.forEachRow(function(id){
grid.cells(id,0).cell.wasChanged = true;
});
where 0 - index of column, which you want always sent to the server side.
Thank you for the tip.
Just want to make sure: setting ‘wasChanged’ for a cell in each row will not cause unchanged rows be sent to the server, right?
It will only change inner state of the cell, there will be no any unnecessary data saving requests.