Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Joy Dragon on May 04, 2007 22:19
open dhtmlx forum
Get other data in insert/update/delete than cells

I'm using your grid and I'd like to know ¿how can I get into my PHP code other stuff from my page than the cells for updating/inserting/deleting, like a hidden tag or something like that?
Thanks
Answer posted on May 05, 2007 14:07
By default dataProcessor include a cell values and userdata related to row. So if you store any kind of additional data it will be automatically included in server side call

grid.setUserData("id-12","testName","testValue");

for any operation with item ( ID == id-12) the URL will contain &testName=testValue - so it will be available for server side scripts.

Alternativly you can adjust the dataProcessor.js file , function sendData
               var a1=this._getRowData(rowId);
this command build string which will be sent to server, you can add any custom code here.
Answer posted by Alexandra (Support) on Dec 08, 2014 16:00

If you haven't found the needed information there and still looking for a solution, you will find the additional help checking js wysiwyg editor and php uploader with progress bar.