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

Subtotals

$
0
0

If I try make subtotals not in 1′st columns it does it no correct
What should I do?

from your samples Subtotals :

// calculate subtotals (three levels, totals on every column)
for (int c = 4; c < _flex.Cols.Count; c++)
{
if (_chkGrand.Checked)
_flex.Subtotal(AggregateEnum.Sum, 0, -1, c, "Grand Total");
if (_chkDirection.Checked)
_flex.Subtotal(AggregateEnum.Sum, 1, 2, c, "Total for {0}");
if (_chkRegion.Checked)
_flex.Subtotal(AggregateEnum.Sum, 2, 3, c, "Total for {0}");
}


Viewing all articles
Browse latest Browse all 14170

Trending Articles



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