DHTMLX Docs & Samples Explorer

loadOrderFromCookie(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.loadOrderFromCookie();
      //maximal parameters set
      mygrid.loadOrderFromCookie("some_name");
   })

See also: saveOrderToCookie