Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by GR on May 16, 2008 10:59
open dhtmlx forum
dataprocessor in "off" mode

Hello, I have a grid defined with a dataprocessor in "off" mode. I'm wondering if it is possible to get the actual state ok a row (inserted, updated, deleted), cause when users delete a row, the row remains in the grid till sendData function is called and I need to block this rows to prevent its modification.
Answer posted by Support on May 19, 2008 05:30

Each updated row has status assigned through userdata, so you can use code similar to next

var status=grid.getUserData(rowID,"!nativeeditor_status");
if (status=="deleted") alert("row was deleted");