Android Question [Solved]B4XTable - can I set the background color on a row?

RMarra

Member
Licensed User
Longtime User
Is there a way to either keep a selected row highlighted when the table loses focus, or set the background color on a row when the row is clicked? I want to pick a row in the table then be able go to another view but still see the row that was previously selected.
 

RMarra

Member
Licensed User
Longtime User
I'm sorry, but I've been through that code over and over and the best I can do is set the color of the column heading. I need to be able to set each individual cell to a different color. Is the B4XTable not the right choice for this?
 
Upvote 0

RMarra

Member
Licensed User
Longtime User
I guess I didn't make my purpose clear. I'll try to integrate the sample into my code (for the third time) and I'll start a new thread about it.

Thanks.
 
Upvote 0

RMarra

Member
Licensed User
Longtime User
My problem was I was missing the "BuildLayoutsCache()". Without it, the table size kept saying "1" so I couldn't change anything except the column headings!
 
Upvote 0
Top