How to retrieve selected record or its' index in sap.ui.table.Table?

7k views Asked by At

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 :)

0

There are 0 answers