Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
internal void LoadGridData()
{
gridcontrol1.RowCount = gridGroupingControl1.Table.TopLevelGroup.Groups.Count;
int i = 1;
foreach (GridGroup gridGroup in gridGroupingControl1.Table.TopLevelGroup.Groups)
{
double sum = (gridGroup.GetSummary(0) as DoubleAggregateSummary).Sum;
string category = gridGroup.Category.ToString();
gridcontrol1[i, 1].CellValue = category;
gridcontrol1[i, 2].CellValue = sum;
i++;
}
} |