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
tableMaxRowsPerPage.jpg

Revelant code:
 

Attachments

  • Project.zip
    15 KB · Views: 64

toby

Well-Known Member
Licensed User
Longtime User
Solution: In Designer, make B4xtable longer and anchor it to both
2022_08_15_19.50.21.jpg
Top and Bottom as well as Left and Right.
 
Last edited:
Upvote 0
Solution
Top