T
TanStack2y ago
extended-salmon

Enable Column Pinning only to specific Column and rest columns pinning will be false? HOW??

I am using @tanstack/react-table and I see that by default enablePinning is true and if this is made false this applies to all Columns. I am fine upto this point. Now I have added enablePinning to specific column let's say to Column0 as I have already done enablePinning false now also Column0 is showing enablePinning as false. But What I want is: I want all columns to have enablePinning to false but whereever I pass enablePinning as true to the ColDef I want pinning to be true? Do someone here have any idea on this???
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?