Open matthewgallo opened 11 months ago
From discussion on refinement call — Safest route is probably to leave out selection of all children when selecting the parent. This behavior can vary depending on needs. Add select is another example that treats this a bit separately.
Updated Feb 19 — based on default behavior from React Table, we’ve decided to keep selection of nested children.
It appears that react-table
forces all child rows to be selected when a parent row is selected, there might be a way to work around this but this appears to be the default behavior.
https://github.com/TanStack/table/blob/v7/src/plugin-hooks/useRowSelect.js#L166-L169
What package(s) are you using?
Detailed description
There current is not support for selected nested rows in the Datagrid, however there is design guidance for this variant of Datagrid, see here.
Datagrid,
useNestedRows
anduseSelectRows
Expected to be able to use these two plugins together.
Chrome
Latest
N/A