Sub TabAnalyse_DataUpdated
For i = 0 To TabAnalyse.VisibleRowIds.Size - 1
Dim RowId As Long = TabAnalyse.VisibleRowIds.Get(i)
If RowId > 0 Then
'criteria
Dim Value As String = TabAnalyse.GetRow(RowId).Get(NumberColumn.Id)
If Value.Contains("# ") Then
SetRowColor(i, xui.Color_RGB(255,153,0)) 'couleur orange
Continue
End If
If Value.Contains("! ") Then
SetRowColor(i, xui.Color_Red)
Continue
End If
If Value.Contains("> ") Then
SetRowColor(i, xui.Color_RGB(145,220,90))
Continue
End If
End If
If i Mod 2 = 0 Then
SetRowColor(i, TabAnalyse.EvenRowColor)
Else
SetRowColor(i, TabAnalyse.OddRowColor)
End If
Next
End Sub