dhtmlGrid dataprocessing

Hi,



I have one grid. In the grid I keep articles of Customer Order. And I’m using DataProcessor to update grid data in database. To update grid data I need to send order id. Order id isn’t in grid.



My question is:



How can I post to server script order id per row? Is any way to add additional variable to post?



Thanks in advance!

How can I post to server script order id per row? Is any way to add additional variable to post?
There are two ways

a) you can set data as part of dataprocessor url
var dp = new dataProcessor(“some.php?id=”+orderID);
( you can use setOnBeforeUpdate method to change the url dynamically, before data sending )

b) you can store additional data , as user data inside the row
dhtmlx.com/docs/products/dhtmlxG … oadingdata
all row related userdata will be sent to the server side during any dataprocessor’s operation.

Thank you.