Check documentation for the latest version 6.0 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);

Parameters

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