onBeforeColumnHide of ui.datatable, Events Webix Docs
fires before a column is hidden in a datatable
void onBeforeColumnHide(string id);
id
The event can be used to prevent the column from being hidden. If a handler returns false, the column will not be hidden.