Check documentation for the latest version of dhtmlxSuite saveSizeToCookie DHTMLX Docs

saveSizeToCookie

saves grid layout to cookie

void saveSizeToCookie(string name,string cookie_param);
namestringoptional, cookie name
cookie_paramstringadditional parameters added to cookie

Available only in PRO Edition

Example

myGrid.attachEvent("onResizeEnd", function(obj){
    //minimal parameters set
    myGrid.saveSizeToCookie();
    //maximal parameters set
    myGrid.saveSizeToCookie("some_name","expires=Fri, 31-Dec-2010 23:59:59 GMT");
});

Back to top