Skip to content

Wrapping/stacking columns to save horizontal space #2888

Answered by umarluqman
sm-Fifteen asked this question in Q&A
Discussion options

You must be logged in to vote

You can use media query hooks in the useMemo function for the columns to render dynamically based on the size of the screen.

Then you can use the Cell function in Column options 👉 https://react-table.tanstack.com/docs/api/useTable#column-options

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sm-Fifteen
Comment options

@umarluqman
Comment options

@sm-Fifteen
Comment options

@umarluqman
Comment options

@sm-Fifteen
Comment options

Answer selected by sm-Fifteen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants