T
TanStack4w ago
rare-sapphire

Are there any prerequisites for enabling enableHiding?

Hello. I'm using Tanstack Table very well and appreciate your efforts. I was reviewing the docs and had a question, so I'm posting it here. https://tanstack.com/table/latest/docs/guide/column-visibility#disable-hiding-columns I want to enable hiding for a column. To do this, I set enableHiding to true for a specific column within columns, but it didn't work. However, I confirmed that setting the column's accessorKey via initialState does enable hiding for that column. My question is: does enableHiding not work when set only in columns? Is there a prerequisite for enableHiding to function?
Column Visibility Guide | TanStack Table Docs
Examples Want to skip to the implementation? Check out these examples: Other Examples API Column Visibility Guide The column visibility feature allows table columns to be hidden or shown dynamically....
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?