My dataProcessor code looks something like this:
myDataProcessor = new dataProcessor(“content.jsp”);
myDataProcessor.setUpdateMode(“off”);
myDataProcessor.init(myGrid);
myDataProcessor.enableDataNames(true);
…
I am using the setUpdated to mark changed rows:
myDataProcessor.setUpdated(rowId, true);
And at one point, I use sendData():
myDataProcessor.sendData();
However, my jsp file is not getting the cell values of the modified rows. The modified rows are correctly being identified and are sent to the server, but not the cell values. I used TCPMon to monitor the data being sent, and this is what it showed:
GET /my-app/content.jsp?gr_id=918&!nativeeditor_status=updated HTTP/1.1
Is there something I am doing incorrectly? Thanks in advance.
You are using
myDataProcessor.enableDataNames(true);
Which means grid will use column IDs for data naming.
So you need to use
grid.setColumnIds(“some,some,…”)
or not use enableDataNames , in such case names c0…cN will be used for columns