Sub B4XTable1_DataUpdated
For row = 0 To B4XTable1.VisibleRowIds.Size - 1
For Each col As B4XTableColumn In B4XTable1.Columns
Dim pnl As B4XView = col.CellsLayouts.Get(row)
If row = 0 Then
pnl.SetColorAndBorder(xui.Color_Gray, 0dip, xui.Color_Transparent, 0dip)
Else
Dim background As Int = IIf(row Mod 2 = 0, B4XTable1.EvenRowColor, B4XTable1.OddRowColor)
pnl.SetColorAndBorder(background, 0dip, xui.Color_transparent, 0dip)
End If
Next
Next
End Sub