Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Multiple Context Menus with same trigger but conditional #261

Closed
wants to merge 9 commits into from

Conversation

saschal-j5int
Copy link

New Feature:

You can give the id props now a function which determines on the right click trigger which context menu to display.

User Case:
I needed this for being able to show different context menus depending on the selection of a handontable instance. I get the current selection when the user right clicks and depending if it s a row/column or range will display a different context menu.

Tested:
With example code.

@saschal-j5int
Copy link
Author

wrong branch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant