DHTMLX Docs & Samples Explorer

loadSortingFromCookie(name)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxgrid_ssc.js

load sorting order from cookie

  • name - optional,cookie name
   mygrid.load("grid.xml",function(){
      //minimal parameters set
      mygrid.loadSortingFromCookie();
      //maximal parameters set
      mygrid.loadSortingFromCookie("some_name");
   })

See also: saveSortingToCookie