TanStackT
TanStack3y ago
3 replies
then-purple

How to pin column and scroll the rest of the table?

Hello people,
Given a Tanstack table with several columns in a React application.
As a user I'd like to see at all times the first column (e.g. ID) while I horizontally scroll the rest of the table (more columns than the screen can fit).

In Tanstack table there's the concept of pinning here:
https://tanstack.com/table/v8/docs/api/features/pinning

But does it behave like I described?
Would you have any tips to implement it?

Thanks! ❤️
Was this page helpful?