Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tion p on Jul 22, 2008 00:06
open dhtmlx forum
dhtmlxGrid DataProcessor

I'm testing the dhtmlxgrid dataProcessor functions

When I delete or update the row, the row(deleted or updated) remained the grid as line-through(bold).
The operation was already updated(deleted) to Database but not saved yet at Grid.
I want to remove from grid after the row was deleted from database.

If I use this function, wheher or not purchasing the licence.


the update mode was set
myDataProcessor.setUpdateMode("cell");

Answer posted by Support on Jul 22, 2008 02:37
>>I want to remove from grid after the row was deleted from database.
The logic of operation is next
    - on row deleting - row in question just marked as deleted in grid
    - when response from server received , the row fully deleted from grid ( it is done automatically, no any custom code required )

If row not deleted after receiving server side response, problem can be caused by incorrect response.
Please be sure that it contains valid action, sid and tid values.
If problem still occurs for you - please contact us directly at support@dhtmlx.com , we can provide debug version of dataProcessor lib, which will give more extended info about inner state and actions.