saves the sorting order to cookie
name | string | optional, cookie name |
cookie_param | string | additional parameters added to cookie |
Available only in PRO Edition
myTreeGrid.attachEvent("onAfterSorting", function(index,type,direction){
//minimal parameters set
myTreeGrid.saveSortingToCookie();
//maximal parameters set
myTreeGrid.saveSortingToCookie("some_name","expires=Fri, 31-Dec-2010 23:59:59 GMT");
});
Back to top