Android Question B4XTable: MaximumRowsPerPage problem

toby

Well-Known Member
Licensed User
Longtime User
I want to show max 5 rows per page, so I use the the following code:
B4X:
   B4XTable1.MaximumRowsPerPage = 5
    B4XTable1.BuildLayoutsCache(5)
    B4XTable1.RowHeight=B4XTable1.RowHeight * 2.5
There are 6 rows of sample data but the first page shows only the first three rows (as seen in the attached image) while I expect the first five.

Could someone kindly tell me how to fix it, please. Same project attached.

TIA

Revelant code:
 

Attachments

  • Project.zip
    15 KB · Views: 137

toby

Well-Known Member
Licensed User
Longtime User
Solution: In Designer, make B4xtable longer and anchor it to both Top and Bottom as well as Left and Right.
 
Last edited:
Upvote 0
Solution
Cookies are required to use this site. You must accept them to continue using the site. Learn more…