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

Added capability to configure a double click event on rows #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

brfreek
Copy link

@brfreek brfreek commented Oct 20, 2023

Can also implement this for cells and columns, but for our current use case rows only require double click.
It uses the React.MouseEvent to detect the number of clicks and based on that either trigger the normal onClick action or a new onDoubleClickAction.

@Andries-Smit
Copy link
Member

I opened a double click PR for DataGrid2 :D mendix/web-widgets#776
The question would we like to align to Data Grid 1, with (double) click and selection? With a single action and a switch for double or single click. This is only useful when we can implement "listen to datasoure" in this widget too.

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

Successfully merging this pull request may close these issues.

2 participants