Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Swapnil on Dec 23, 2008 06:48
open dhtmlx forum
Delete row for dhtmlxTreeGrid

Hi,

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.

Thanks,
Swapnil
Answer posted by Support on Dec 23, 2008 07:24
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 
   self.obj.setRowHidden(rowId,true);