I have this Tree
in ExtJs that allows for multiple selection:
<Tree
ref={this.treeRef}
flex={1}
store={this.treeStore}
selectable={{
mode: 'multi',
rows: true,
drag: true,
}}/>
My problem is the fact that I cannot get the selected records. If I run getSelection
it will return the last element selected/a single element.
How does one get all the selected elements in a tree? I found nothing in their docs and, of course, their forums are long dead.