Skip to content

disable pop up menu when pass in empty array#748

Open
haolun1996 wants to merge 1 commit intobosskmk:masterfrom
haolun1996:master
Open

disable pop up menu when pass in empty array#748
haolun1996 wants to merge 1 commit intobosskmk:masterfrom
haolun1996:master

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