Viewport in Table Mode - toggle visibility of columns?
-
I am trying to make columns in the Viewport and Table Mode respond to visibility filtering, but I can see no way to do this as the only available methods to change the columns exist in the
dataTable.setTableColumns(columnData);
and the Docs say: "Define the columns of the table. This can only be done in the onInit callback."
If I could update this with another callback I could either add/remove columns, toggle the column width between 0 and full, or use the "Visible" bool in the definition.
But otherwise I see no way toggle visibility at runtime.
If anyone knows a way around this, please advise!