DHTMLX Docs & Samples Explorer

enableDragOrder(mode)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxgrid_drag.js

switches to the mode when the dragged items drop in the target location in the same order as they were in the source grid.

  • mode - true/false to enable/disable mode
   //enable drag order
   mygrid.enableDragOrder(true);
   //disable drag order
   mygrid.enableDragOrder(false);

See also: enableDragAndDrop, enableMercyDrag