Can we drag a column using column header instead of drag icon in Material-React-Table? #1107
Unanswered
Sandhu2995
asked this question in
Q&A
Replies: 1 comment
-
You can just not turn on the built-in dragging features and then add your own drag events using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
material-react-table version
2.12.1
react & react-dom versions
18.0.0
Describe the bug and the steps to reproduce it
I need to know whether we can drag and drop columns using column header.
I know, currently it can be achieved by using 'enableColumnOrdering' prop, but it brings the drag icon. I need to hide that drag icon, and still need the ability to drag columns.
Minimal, Reproducible Example - (Optional, but Recommended)
This is from MRT documents - https://www.material-react-table.com/docs/guides/column-ordering-dnd
Screenshots or Videos (Optional)
Do you intend to try to help solve this bug with your own PR?
None
Terms
Beta Was this translation helpful? Give feedback.
All reactions