Quantcast
Viewing all articles
Browse latest Browse all 9052

issues with sap.ui.table.Table.getRows

hi all,

 

i've a sap.ui.table.Table implemented in Shell with navigationMode="Paginator". i've a requirement to show and select the selected rows using a check box (its one of the columns) and process it further. i'm using the below code:

 

var rows = this.byId("oTable").getRows();

var c = 0;

 

for (var i = 0; i < rows.length; i++) {

  if (rows[i].getCells()[1].getChecked()) {

  c++;

  }

}

 

when even i select any of the rows, and click next to navigation to other pages.. the check boxes are set selected in the same rows in other pages...!!

i think some mistake from my code. when altered 'row' it always shows me the 9 rows.. where as the table has more than 9 rows. 10 rows shows by default. how to implement this, i need to know (process further) the selected rows in the complete table and submit further. how to code for this?


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>