onBeforeColumnShow of ui.datatable, Events Webix Docs

StartAPI Referenceui.datatableEvents

fires before a column is shown in a datatable

void onBeforeColumnShow(string id);

id

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