Closed gfazioli closed 11 months ago
Wow! This is by far the best PR I've seen ever! Thanks a lot for taking the time to come up with the code and the usage examples!
This will definitely go into v7.3; will publish it later today. Thanks again for your effort!
I'll do the necessary adjustments to export the useDragToggleColumns
hook from mantine-datatable
and a few minor code-style changes; I hope you won't mind ;-)
In this draft, I have added two new features: the ability to drag & drop columns to order them, and the option to show or hide columns. In this version, I use a context/Provider at the top of the column header. However, it could also be removed and directly modify the relevant component.