onBeforeColumnHide

fires before a column is hidden in a datatable

void onBeforeColumnHide(string id);
idstringthe column ID

Example

$$("datatable1").attachEvent("onBeforeColumnHide", function(id){
    // some code
});

Details

The event can be used to prevent the column from being hidden. If a handler returns false, the column will not be hidden.

See also
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 lightweight js framework and page of tree table product.