Check documentation for the latest version of dhtmlxSuite post DHTMLX Docs

post

allows sending POST requests by loading data from external file ( xml, json, jsarray, csv )

void post(string url,string post,function call,string type);
urlstringurl to an external file
poststringPOST request
callfunctionan after loading callback function, optional, can be omitted
typestringtype of data (xml,csv,json,jsarray), optional, xml by default

Available only in PRO Edition

Example

myGrid.post("data.php?id=1","data=10",ondataload,"xml");

Back to top