custom data

Could I submit custom data when I work with dataProcessor? For example, can I submit a hidden field () in HTML when I call the function of dataProcessor.sendData()?

Nope, but you can include custom data in two ways

a) you can change the url

dp.serverProcessor = “some.php?data=”+value;
dp.sendData();

b) if you are using dataprocessor with tree or grid - you can set global custom data for the related tree or grid - all custom data of component is included in the server request.

Thank you for your reply, I am a dhtmlx beginners, by the way, how to set global custom data for the related tree or grid, could you tell me the corresponding API, thanks a lot.

docs.dhtmlx.com/api__link__dhtml … rdata.html

grid.setUserData(null, "name", value);