Jun 18, 2017 Replies: 1 I'm new at b4j. I can write rows to tableview.... I want to be able to write text to any cell in Tableview.... and also control background color of any cell. Is it possible. (it was easy in VB6). Or is tableview the wrong component to use. Click to expand...
I'm new at b4j. I can write rows to tableview.... I want to be able to write text to any cell in Tableview.... and also control background color of any cell. Is it possible. (it was easy in VB6). Or is tableview the wrong component to use.
Erel B4X founder Staff member Licensed User Longtime User Jun 18, 2017 #2 See the TableView example: https://www.b4x.com/android/forum/threads/tableview-tutorial.35542/ You can change the background colors of individual cells by using Panes as the items. Put the labels in the panes. You can then use CSSUtils to change the background colors of the panes.
See the TableView example: https://www.b4x.com/android/forum/threads/tableview-tutorial.35542/ You can change the background colors of individual cells by using Panes as the items. Put the labels in the panes. You can then use CSSUtils to change the background colors of the panes.