Check documentation for the latest version of dhtmlxSuite enableDragOrder DHTMLX Docs

enableDragOrder

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

void enableDragOrder(boolean mode);
modebooleantrue|false to enable/disable mode

Example

//enable drag order
myTreeGrid.enableDragOrder(true);
//disable drag order
myTreeGrid.enableDragOrder(false);

Back to top