enableAutoHiddenColumnsSaving

enables automatic saving of a column's state ( hidden/shown )

void enableAutoHiddenColumnsSaving( [string name,string cookie_param] );

Parameters

namestringoptional, cookie name
cookie_paramstringoptional, additional parameters added to cookie

Available only in PRO Edition

Example

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

Back to top