The list of selected ids within the tree. If you only want to allow a
single item to be selected at a time within a tree, keep this as either an
empty list (no selections) or a single itemId
.
A function to call that will update the selectedIds
to include itemId
of the newly selected tree item. This will be triggered when:
Note: If you are using the useTreeItemSelection
hook, this will always
cause the selectedIds
to be a list of just the selected itemId
unless
the multiSelect
(second argument) is enabled.
A function to call that will update the selectedIds
for "batch"
selection updates. This will always be called with a unique list of
itemId
s that contained the previous itemId
s including the new
itemId
s. This will only be called when the multiSelect
prop has been
enabled and:
Shift + Click
s items within the treeControl+Shift+Home
or
Control+Shift+End
Generated using TypeDoc
Boolean if multiple items within the tree can be selected at once.