You need to sign in to do that
Don't have an account?
How to setSelectedRows on lightning:treeGrid
I'm using the new component lightning:treeGrid and need to set selected multiples rows when i create or initialize the component. ?
Thats posible ?
Thanks
Thats posible ?
Thanks
Below is the working code that expands multiple tree rows and selects a particular row even if nested on component init.
Component Code: Component controller: Component Renderer:
But i believe it is different for children and there is no attribute to make children selected, which i have not tried. Will try and let you know.