onBeforeColumnDrag

fires the moment you start dragging the column from its source position

void onBeforeColumnDrag(string sourceId,Event object event);
sourceId
stringthe source column id event
Event objectthe native event object

Example

$$("datatable1").attachEvent("onBeforeColumnDrag", function(sourceId, event){
    // some code
    return true;
});

Details

The event is blockable. Returning false will prevent column dragging.

See also
  • API
  • Articles
  • Back to top
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of html5 datatable product.