I’ve got this weird problem with the following code:
function deleteRow(currRowId)
{
grdPBZones.deleteRow(currRowId);
dpPBZones.sendData(currRowId);
}
The associated dataProcessor has an onAfterUpdate function but there the action returned is ‘insert’ rather than deleted. I’ve checked the returning XML and that correctly shows ‘deleted’ so whatever processing happens between the XML being returned and the onAfterUpdate function being called is changing the action to ‘insert’. This is causing me some serious problems. Please HELP!!
What action type is returned to the client side is depend on the server side code. If you have FireFox, you can check which xml responce grid receives when you delete row. If it always contains “inserted” operation type, then issue is on server side code.
Hi Olga when I said I had checked the xml I meant in Firebug. The response xml is definitely ‘deleted’ but the onAfterUpdate function is receiving ‘inserted’. Very wierd.
Also, try to include dhtmlxdataprocessor_debug.js , in addition to existing js files. As result you will have client side debug console which will show incoming data and how it will be parsed on the client side.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan