Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Joe on Jul 02, 2009 13:14
open dhtmlx forum
DataProcessor delete not functioning properly

We are using the DHTMLX Grid Version 2.0 and we are having a problem while deleting rows in the grid. When we delete a row the row style changes to bold & strike through and then when we hit the save button the delete operation works fine and the row gets deleted from the database. But the deleted row is still visible on the grid. The record still has the strikethrough but the text is no longer bolded. Manually refreshing the page, removes the deleted row from the grid.

What could be the possible reasons for this behavior. The insert functionality works just fine.

Thanks.
Answer posted by Stanislav on Jul 03, 2009 14:32
Are you using connectors or custom server side code?
In case of custom code - check the ction@type value in xml response , it must be "delete" for correct operation execution. 

>>The record still has the strikethrough but the text is no longer bolded.
Which means, response xml contains correct action tag, pointing to correct row, but seems it has incorrect ction@type and processed as callback of different operation