Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 31, 2008 17:11
open dhtmlx forum
undo delete

If we delete a row in the grid i see that the whole row gets crossed out and the delete gets to the database when we save it. Is there a way to undo the delete on a perticular row on the client side before hitting the save button?
Answer posted by Support on Apr 01, 2008 10:16
You can call two next command, they effectivle restore row
    dataproc.setUpdated(rowId,false);
    grid.setUserData(rowId,"!nativeeditor_status","");

where rowId - id of row in question