Function
This plugin provides a way to persist some grid features in cookie.
Default persistable features are:
column width: "columnWidth" (handler name)
column order: "columnOrder"
sorting order: "sortOrder"
Grid users can define new persistable features
by calling the following before grid is initialized (that is, during "preInit");
grid.addCookieHandler({
name: "a name for the new persistable feature",
onLoad: function(savedObject, grid){
//load the cookie.
},
onSave: function(grid){
//save the cookie.
}
});String
Plugin name
Function
Function
Function
Function
An object with the following structure:
{
name: "some-string",
onLoad: /* void */ function(/* object */partOfCookie, /* EDG */grid){...},
onSave: /* object */ function(/* EDG */grid){...}
}If a grid plugin wants cookie service, call this. This must be called during preInit.
Function
Remove cookie for this grid.
Function
Name of a cookie handler if provided, otherwise for all cookies.
A setter to enable|disable cookie support for a particular Grid feature.
Function
Name of a cookie handler if provided, otherwise for all cookies.
A getter to check cookie support of a particular Grid feature.
Object
Object
Object
Object
Object