Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable pop up menu when pass in empty array #748

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haolun1996
Copy link

able to return empty array on buildMenuItems on class which implements PlutoColumnMenuDelegate by putting on field columnMenuDelegate and checking the items if it is empty then wont returning for showMenu

In short, putting empty array then pop up menu won't be shown

@bosskmk
Copy link
Owner

bosskmk commented Feb 9, 2023

If the column right menu is not displayed, you can do as follows.

PlutoColumn(enableContextMenu: false, );

Because of this, it seems that the intention of this PR is redundant.
Please let me know if you have other use cases that need to be covered by a PR.
thank you

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

Successfully merging this pull request may close these issues.

2 participants