-
What is the recommended approach to reordering columns in a table? I have tried to use a popover with a grid list to reorder the column data, which on drag drop updates the column data that is used by the table header. This correctly updates the table header, but does not update the table body.
What are other peoples approach? |
Beta Was this translation helpful? Give feedback.
Answered by
bri-fox
Apr 15, 2024
Replies: 1 comment
-
for anyone who needs the answer: The fix is to include dependencies={columns.items} on your TableBody.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bri-fox
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for anyone who needs the answer:
The fix is to include dependencies={columns.items} on your TableBody.
Also columns={columns.items} on your Row.