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

row double click for Grid component #2453

Closed
vedmalex opened this issue Oct 19, 2018 · 2 comments
Closed

row double click for Grid component #2453

vedmalex opened this issue Oct 19, 2018 · 2 comments
Assignees
Labels

Comments

@vedmalex
Copy link
Contributor

vedmalex commented Oct 19, 2018

Hi!
Cool feature of react-admin 2.4 rowClick for Datagrid
Is you've mentioned in rowClick

Be careful though: if the row contains an or a , the link created by these fields won't be clickable - the click to the edit view takes precedence.

Why no implement rowDblClick and use onDoubleClick event?

in mobile mode we can use different events, double click just fine for desktop.

@michalpierzchlewicz
Copy link

Same here. Love the feature - the only problem is with not being able to click links inside rows - e.g. reference fields or custom buttons. Being able to save some extra space by not having to use the edit button is great!

@fzaninotto fzaninotto self-assigned this Oct 22, 2018
@fzaninotto fzaninotto added the bug label Oct 22, 2018
@fzaninotto
Copy link
Member

We can do better and make single click on references work out of the box.

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

No branches or pull requests

3 participants