Check documentation for the latest version of dhtmlxSuite saveOpenStates DHTMLX Docs

saveOpenStates

stores open state of TreeGrid in cookie

void saveOpenStates(string name);
namestringoptional, cookie name

Available only in PRO Edition

Example

myTreeGrid.attachEvent("onOpenEnd", function(index,state){
    //minimal parameters set
    myTreeGrid.saveOpenStates();
    //maximal parameters set
    myTreeGrid.saveOpenStates("some_name","expires=Fri, 31-Dec-2010 23:59:59 GMT");
});

Details

the method doesn't make sense for Grid and is actual for TreeGrid only

Back to top