Skip to content
Discussion options

You must be logged in to vote

You can refer to this example ttps://www.material-react-table.com/docs/examples/dynamic-columns.

Alternatively, consider implementing a straightforward approach: check if the data length is greater than 0 before rendering the grid. This ensures that the grid is only rendered when there is substantial data to display.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KevinVandy
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