Hi,
simple question here. I’m using SubmitOnlyChanged along with a form so that only those cells that are changed are passed through the form. The problem I’m getting is that it passes only the cell. Is there any way to pass an entire row if one or more cells within that row are changed?
Thanks
Unfortunately there is no such option, but you can workaround issue by adding next code to the grid intialization
grid.attachEvent(“onEditCell”,function(stage,id,ind){
if (stage == 2 )
this.forEachCell(id,function(el){
el.cell.wasChanged=true;
})
return true;
});
With such code, after any cell inside row will be change, all other cells in the same row will be marked as updated - so, in case of form submit, all row will be sent to server side.
This is great! thank you so much.