Open ozandogrultan opened 5 years ago
Hi @dogrultan,
Thank you for this suggestion, we will consider implementing it in the future.
If taking this on, consider a tri-state for selection: full, partial, none.
In a tree of:
a--+
+-- b --+
| +-- ba
| +-- bb
+-- c
Selecting b
would set:
full: b
, ba
, bb
partial: a
(only some decendants are selected)
none: c
(left unchecked)
Would be nice to have options for:
BTW: I'm implementing this type of behaviour via <SelectionState selection={selected} onSelectionChange={handleSelected} />
, with my own control of selected
via handleSelected
. But it is a lot of grunt work, and I can't implement the "partial selection".
I'm using ...
Description
An option to TableTreeColumn to select child rows recursively on row select, maybe something like selectRowsRecursive prop