I have implemented a Tree Table in sapui5 with 'multitoggle' mode. I am trying to get the selected row or its index.
For the index, I have used the function getSelectedIndex();
But it returns -1 for the records that have been collapsed under a particular record.
Also, is there any other way to get the selected record (instead of index) from a Tree Table?
Kindly help. Thanks :)