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 context menu #104

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

Conversation

jonas-engberg-matsmart-se

Added CanUserClearCells and disabled the context menu if no user action is available

@anmcgrath
Copy link
Owner

Hi @jonas-engberg-matsmart-se, thanks for the PR. I think this is a nice addition, but it would be good to add another parameter on the Datasheet, e.g

<Datasheet ContextMenuEnabled="false"/>

This would mean it's easier to disable the context menu other than just setting all other flags to false. What do you think?

@jonas-engberg-matsmart-se
Copy link
Author

Yes, working with a updating this PR with ContextMenuEnabled

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