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

marknelissen picture marknelissen  路  3Comments

mbj36 picture mbj36  路  3Comments

kdabir picture kdabir  路  3Comments

yangjiamu picture yangjiamu  路  3Comments

Dragomir-Ivanov picture Dragomir-Ivanov  路  3Comments