Delete row for dhtmlxTreeGrid


I am using the dhtmlxTreeGride where I use dataprocessor to insert/update/delete rows with myDataProcessor.setUpdateMode(“cell”);.

Whenever I delete the row it marked its deleted and deleted from treeDrid as well as from database. But I want to delete it from the treeGrid and database as soon as click on Delete row button without marking it as deleted.

Please help me.



You can’t fully change behavior ( row still will be deleted only after confirmation from the server) , but you can change visual effects, so deleted row will disappear instead of marking
dhtmlxdataprocessor.js, line 550
self.obj.setRowTextStyle(rowId,“text-decoration : line-through;”);
can be replaced with