fires the moment you drop the column to its target position

void onBeforeColumnDrop(string sourceId,string targetId,Event object event);
sourceIdstringthe source column id
targetIdstringthe target column id
eventEvent objectthe native event object


    function(sourceId, targetId, event){
        // some code
        return true;


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

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