B4J Question TableView question

cstangor

Member
Licensed User
Longtime User
Sorry, I'm lost on this one.

I'm using the tableview.

I'd like to make a table where my usernames wrap across columns.

e.g.:

Original list ("Abe", "Bill", "Charles", "David", "Ed", "Fred")

should wrap into table rows as:

Abe David
Bill Ed
Charles Fred

Can't figure out that one, particularly since the general way to fill a table is to add rows sequentially.

Can I select a row programatically?

Thanks in advance.
 

cstangor

Member
Licensed User
Longtime User
Oh sorry, that's obvious. Loop through i = 0 to 2 iterations, making column 0 = i and column 1 i +3.

Long day:)
 
Upvote 0
Top