Skip to content

dragColumn

enables drag-and-drop support for columns

let dragColumn: boolean|string
  • true - columns can be dragged
  • false - columns cannot be dragged
  • “order” - columns can be dragged within one datatable only
webix.grid({
...
dragColumn:true
});

also check the next sample:

If drag is ‘order’, items can’t be dragged out of the component. Also, while an item is dragged, the remaining items are automatically rearranged to give space for the item.

Articles

API