Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: Subtotal

$
0
0

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


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>