future-architect/cheetah-grid

How to toggle any columns visible?

elewen opened this issue · 1 comments

How to toggle any columns visible?

You need to set the header property to the new header definition.
Exclude the column definition you want to hide from the new header definition.

grid.header = [/* new header definition */]

https://future-architect.github.io/cheetah-grid/documents/tsdoc/classes/ListGrid.html#header