Hi All,
I am trying to color a row in a tableview dependent on the value of one of the cells
I have tried to color the cells but there is something I am missing.
Thank you
I am trying to color a row in a tableview dependent on the value of one of the cells
I have tried to color the cells but there is something I am missing.
Thank you
B4X:
For i = 0 To TableView1.items.size -1
Dim row() As Object = TableView1.items.get(i)
Dim abc As String = row(2)
If abc = "0" Then
row(2) = "N"
Else
row(2) = "Y"
Dim tv1 As B4XView = TableView1
tv1.TextColor=xui.Color_Green
End If
Next