vmag
Active Member
Hello there!
1. How to programmatically go to (highlight) a specific row? In TableView, this could be done like this:
2. How can I set the percentage width of columns in B4XTable? In TableView this could be done like this:
1. How to programmatically go to (highlight) a specific row? In TableView, this could be done like this:
B4X:
TableView1.Selectedrows=i
B4X:
Dim w As Int = Round(TableView1.Width) ' 100 %
TableView1.SetColumns(cols)
TableView1.SetColumnWidth(0, 0) ' 0 %
TableView1.SetColumnWidth(1, w*80/100) ' 80 %
TableView1.SetColumnWidth(2, w*15/100) ' 15 %