Check documentation for the latest version 6.0 of dhtmlxSuite loadJSON DHTMLX Docs

loadJSON

loads tree from json file

void loadJSON(string jsonFile,function afterCall,string type);

Deprecated

Use load method

myTree.load(jsonFile,afterCall,"json");

Parameters

jsonFilestringlink to JSON file
afterCallfunctionfunction which will be called after data loading
typestringtype of data, optional, xml by default
Change log

deprecated since version 4.4

Back to top