Detect click on column header and display a different context menu. #142
ajboni
started this conversation in
Feature requests
Replies: 2 comments 2 replies
-
Hey @ajboni , |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey @ajboni, this is now available in 4.2.0 ;) The context menu componmemnt receives the cell on which it was called in the prop |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello! Great library!!
I was wondering if there is any possibility to get if we clicked on a column header and display a different context menu.
I'm using this as starting point
https://github.com/Equify/react-datasheet-grid/blob/master/src/components/ContextMenu.tsx
the thing is that the whole column is selected if right-clicking on a header so active cell is never null...
https://react-datasheet-grid.netlify.app/docs/api-reference/ref
Beta Was this translation helpful? Give feedback.
All reactions