Hi Deepankar,
I’m very sorry, I realised that I now actually need to do grouping based on aggregation applied on column cells.
Can you please help with the following code conversion to VB.NET with Classic grid.
For i = 2 To fa.Cols – 1
'avg column – use column 0 (no change)
If Me.checkavg.Checked = 1 Then
fa.Subtotal(flexSTAverage, 0, i, , Color.Yellow, , , "Avg")
End If
'total column
If Me.checktotal.Checked = 1 Then
fa.Subtotal(flexSTSum, -1, i, , Color.Blue, Color.White, True, "Total")
End If
Next i
I would greatly appreciate any help.
Thanks,
Pedro