Dataprocessor updatedrows

I am using some code to see if there are any updated rows.



if(myDataProcessor.updatedRows.length > 0)

{

myDataProcessor.sendData();

}



I update a row. Run myDataProcessor.sendData(); and it sends the data. But it doesn’t reset the updatedRows for some reason. So if I run that function again it thinks there are rows to send, but in reality there is nothing to send.


updatedRows array is reseted after grid receive confirmation that rows was updated in the server side. To check if update operation was pass successfully you can turn on debug mode:


myDataProcessor.enableDebug(true)