Tabulator: Programatically hide a column without re-calling $.tabulator()?

Created on 23 Jan 2018  路  1Comment  路  Source: olifolkerd/tabulator

I have a column I want to hide sometimes. Can I set the column visible property programatically?

Question - Ask On Stack Overflow

Most helpful comment

Hide a column:
$("#example-table").tabulator("hideColumn","name") //hide the "name" column

Hide directly on column component:
column.hide();

Toggle visibility:
$("#example-table").tabulator("toggleColumn","name") ////toggle the visibility of the "name" column

Toggle visibility on column component:
column.toggle();

>All comments

Hide a column:
$("#example-table").tabulator("hideColumn","name") //hide the "name" column

Hide directly on column component:
column.hide();

Toggle visibility:
$("#example-table").tabulator("toggleColumn","name") ////toggle the visibility of the "name" column

Toggle visibility on column component:
column.toggle();

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sphynx79 picture sphynx79  路  3Comments

soo1025 picture soo1025  路  3Comments

mohanen picture mohanen  路  3Comments

tomvanlier picture tomvanlier  路  3Comments

cemmons picture cemmons  路  3Comments