on 12-17-2015 10:51 AM
I have a table with pagination in which i am searching one item if table has 10 page i want to show that page which corresponds to the search item for which i need to show the page which has the item but i am not able to show the page even after setting the property
oTable._oPaginator.setCurrentPage(2)
Any help would be highly appreciated
Thanks and Regards
:S
Hi Muhammad,
try to add the following code:
if (oTable._oPaginator.getDomRef()) { | oTable._oPaginator.rerender(); | } |
Even though it is not recommended to access the Paginator in that way, as _oPaginator is a private property of the table.
A cleaner way would be to extend the sap.ui.table.Table and add a new method for your requirement.
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.