dragColumn

enables drag-and-drop support for columns

boolean|string dragColumn;

Values

  • true
    columns can be dragged
  • false
    columns cannot be dragged
  • "order"
    columns can be dragged within one datatable only
  • Example

    webix.ui({
        view:"datatable",
        ...
        dragColumn:true
    });

    Related samples

    Details

    The property allows you to set the mode for dragging columns instead of rows.

    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.

    See also
    Back to top
    If you have not checked yet, be sure to visit site of our main product Webix popular javascript framework and page of javascript data table product.