Skip to Content
Former Member
Jul 01, 2015 at 01:54 PM

SAPUI5 Table selecting row problem



i have a view with table. I want to choose one row from the table and get data from cells via oTable.getRows()[oTable.getSelectedIndex()].getCells()[0].getText() .

visibleRowCount is by default 10. But i have more rows in my table. If i choose rows 0-7 then everything is OK. But if i choose 8 and further on, i get "Cannot call method getCells() of undefined". How could i fix this problem?

I cannot increase visibleRowCount because table gets bigger.