Reputation: 777
XML
<PagingButton positionChange="pagination" position="1" count="5" id="pagingBtn" nextButtonTooltip="next" previousButtonTooltip="previous"/>
Instead of count="5", From controller I have to set count of paging button. How to set count from controller..?
Upvotes: 0
Views: 653
Reputation: 249
this.byId("pagingBtn").setProperty("count", 10);
and delete the count attribute from the xml
Upvotes: 2