Categories | Question details Back To List | ||
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! Answer posted by Support on Feb 02, 2009 02:14 >>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 http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Loading_data_in_grid.html#grid_art_loadingdata all row related userdata will be sent to the server side during any dataprocessor's operation. Answer posted by Rustamjon Mukhammadaliyev on Feb 02, 2009 03:00 Thank you. |