React-admin: Support row expansion on DataGrid row-click

Created on 14 Jan 2019  路  3Comments  路  Source: marmelab/react-admin

Is your feature request related to a problem? Please describe.
Currently, rowClick supports show|edit as possible action on click of DataGrid row.

Describe the solution you'd like
Please consider supporting additional option value expand which is will expand the row.

<Datagrid rowClick="expand" expand={<GroupExpansion/>}>

Additional context
Row Expansion was a feature introduced in 2.6.

enhancement

Most helpful comment

It turns out we do need it now ;)

All 3 comments

Nice suggestion. We won't implement it ourselves as we don't need it, so feel free to open a PR about it.

It turns out we do need it now ;)

Fixed by #2820

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Dragomir-Ivanov picture Dragomir-Ivanov  路  3Comments

9747749366 picture 9747749366  路  3Comments

waynebloss picture waynebloss  路  3Comments

samanmohamadi picture samanmohamadi  路  3Comments

mbj36 picture mbj36  路  3Comments