Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2812

sap.ui.table - display only fixed number of rows without pagination scrolling

$
0
0

Hello,

i have sap.ui.table component and i want to display N last transactions (display only fixed number of rows). Without pagination/scrolling (hide scrollbar, paginator).

 

What i've tried so far:

1) model.setSizeLimit(N) - doesnt work

2) SetVisible rows, row count mode set to fixed

var transactionTable =this.getView().transactionTable;

transactionTable.setNavigationMode(sap.ui.table.NavigationMode.Paginator);

transactionTable.setVisibleRowCountMode(sap.ui.table.VisibleRowCountMode.Fixed);

transactionTable.setVisibleRowCount(5);

transactionTable.setThreshold(999);

 

I could do it with filtering, but it will be probably more difficult.


Viewing all articles
Browse latest Browse all 2812

Trending Articles



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