Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tession on Oct 15, 2008 07:47
open dhtmlx forum
Delete rows from TreeGrid without sending data to server

Hi, I have a TreeGrid which uses SmartRendering and DataProsessor. How I can temporarily bypass DataProsessor and delete rows immediately without sending data to server? DB is updated separately.
Answer posted by Support on Oct 15, 2008 08:03

can be done as

mygrid.setUserData(rowID,"!nativeeditor_status","true_deleted"); //mark row , to be ignored by dataprocessor
mygrid.deleteRow(rowID); //delete row