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

enableAutoSaving

enables automatic saving of size, sorting order and columns order

void enableAutoSaving(string name,string cookie_param);

Parameters

namestringoptional, cookie name
cookie_paramstringadditional parameters added to cookie

Available only in PRO Edition

Example

//minimal parameters' set
myGrid.enableAutoSaving();
//maximal parameters' set
myGrid.enableAutoSaving("some_name","expires=Fri, 31-Dec-2010 23:59:59 GMT");

Details

If you need to save hidden columns as well, you should use the enableAutoHiddenColumnsSaving() in addition to this command.

Back to top