Posted 5 October 2020, 1:56 am EST
Hi Victor,
You can set the FetchStyle property of the specific DisplayColumn to True for which you want to use the FetchCellStyle event of TDB.
If you have set the FetchStyle property of all the columns to True then you can use the condition to set the property for a specific column:
Private Sub C1TrueDBGrid1_FetchCellStyle(sender As Object, e As C1.Win.C1TrueDBGrid.FetchCellStyleEventArgs) Handles C1TrueDBGrid1.FetchCellStyle
If e.Col = 1 Then
e.CellStyle.ForeColor = Color.Purple
End If
End Sub
Regards,
Prabhat Sharma.