Categories | Question details Back To List | ||
onloaded callback for mygrid.parse(data,"json"); I am using json to load my grid data: mygrid.parse(data,"json") I tried doing something like this but it did not work: mygrid.parse(data,"json",function(){ mygrid.loadSizeFromCookie(); mygrid.loadSortingFromCookie(); mygrid.loadOrderFromCookie(); }); Is there an onloaded event for this when parsing the json data? Thanks Answer posted by dhtmlx support on Sep 23, 2008 01:23 In case of using 3 parameters afterLoad function is the second parameter: mygrid.parse(data,doAfterParsingEnd,"json"); function doAfterParsingEnd(){ mygrid.loadSizeFromCookie(); mygrid.loadSortingFromCookie(); mygrid.loadOrderFromCookie(); } |