DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### enableSortingSaving(name,cookie_param)

Required library edition:
Required library file: dhtmlxgrid_ssc.js

enable automatic sorting state saving to cookie

- name - optional, cookie name
- cookie_param - additional parameters added to cookie

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

See also: saveSortingToCookie, enableAutoSaving, loadSortingFromCookie