Posted 4 April 2018, 5:45 am EST
I’m using truedbgrid version: 4.0.20172.271. When in normal view the fetchcellstyles event is working fine, however when I group the grid by any column the row index for colouring the cell is offset by the grouping level. If this is an error with the grid then is there a work around please?
The code I’m using in the event is as follows:
Dim Amt As Decimal Amt = Val(Me.tdbGrid(e.Row, e.Col)) If Amt < 0 Then e.CellStyle.ForeColor = Color.Red End If
Regards,
Andy