Required library edition:
Required library file: dhtmlxgrid_ssc.js
enable automatic saving of size, sorting order and columns order. If you need to save hidden columns as well - you need to use enableAutoHiddenColumnsSaving in addition to this command.
//minimal parameters set mygrid.enableAutoSaving(); //maximal parameters set mygrid.enableAutoSaving("some_name","expires=Fri, 31-Dec-2010 23:59:59 GMT");
See also: enableAutoHiddenColumnsSaving, enableAutoSizeSaving, enableOrderSaving, enableSortingSaving