React-admin: row double click for Grid component

Created on 19 Oct 2018  路  2Comments  路  Source: marmelab/react-admin

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.

bug

Most helpful comment

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

All 2 comments

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!

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

keulu-ing picture keulu-ing  路  22Comments

fzaninotto picture fzaninotto  路  27Comments

fzaninotto picture fzaninotto  路  24Comments

qstyler picture qstyler  路  21Comments

mstmustisnt picture mstmustisnt  路  30Comments