Replies: 1 comment
-
react-dnd usually breaks MRT's dragging implementation. |
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.
-
Is there a way to set a ref onto the drag-handle, so I can use the ref I got from my dnd-hooks? (react-dnd in this case)
I have a project which uses react-dnd for drag and drop everywhere. However, for material-react-table, I had to use custom code which works with the dragevent dataTransfer directly, because adding a ref to the
muiRowDragHandleProps
was forbidden.Is it an option to just replace the <MRT_TableBodyRowGrabHandle /> by my own one, which also includes a ref, or is that not possible (yet)?
Beta Was this translation helpful? Give feedback.
All reactions