dragColumn

enables drag-and-drop support for columns

boolean|string dragColumn;

Values

  • true
    columns can be dragged
  • false
    columns cannot be gragged
  • "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 when users will drag columns instead of rows.

    As a string the parameter can take only one value:

    • 'order'

    With such a value set, items can't be dragged out of the calling object boundaries. Also, while dragging an item the remaining items are automatically rearranged so that when you drop the item to the final destination the remaining items won't need to do any rearrangements.

    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.