Hi all
my grid is working fine, but if i change values in multiple rows only the first change is updating the remaining are not updated. please help me .
Are you using dataprocessor library ?
By default dataprocessor sends data about updated rows one by one. Data about each row sent as separate request.
You can enable “send-all-at-once” behavior by
grid.setTransactionMode(“GET”,true)
If problems still occurs for you - please provide more info about used modes.
mygrid.loadXML(“get1.php”);
myDataProcessor = new dataProcessor(“update1.php”);
myDataProcessor.enableDebug(true);
myDataProcessor.enableDataNames(true);
myDataProcessor.setUpdateMode(“off”);//available values: cell (default), row, off
myDataProcessor.defineAction(“error”,myErrorHandler);
myDataProcessor.setTransactionMode(“GET”);
this is what i am doing. its working with 1 row update, but getting sql error working with multiple rows update. please help
If you are using “send-all-at-once” behavior - server side code need to be written in different way.
dhtmlx.com/docs/products/dht … aprocessor
updateAll.zip (1.12 KB)