Check documentation for the latest version of dhtmlxSuite saveHiddenColumnsToCookie DHTMLX Docs

saveHiddenColumnsToCookie

saves hidden columns to cookie

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

Available only in PRO Edition

Example

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

Back to top