Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
Nested GroupByRow SummaryValues not showing up
posted

I cannot get nested UltraGridGroupByRow SummaryValues, they always return null, zero, or an empty string.

Grid setup:

It has OutlookStyle grouping

ColumnA and ColumnB are being grouped, with ColumnA being the outter most grouping and ColumnB is a nested group within ColumnA.

Both ColumnA and ColumnB have summary values, there is also a third column (ColumnC) that also has a summary value

If I use:

UltraGridGroupByRow gbr = (UltraGridGroupByRow UltraGrid.Rows[0];
gbr.Rows.SummaryValues["ColumnC"].Value;

 I correctly get the summary value for ColumnC at ColumnA grouping.

If I try to go to ColumnB's grouping level by using this syntax:


UltraGridGroupByRow gbr = (UltraGridGroupByRow)UltraGrid.Rows[0];
UltraGridGroupByRow gbr2 = (UltraGridGroupByRow) gbr.Rows[0];
gbr2.Rows.SummaryValues["ColumnC"].Value;

the Value is null, zero, or an empty string and I know for sure that at ColumnB's grouping level, ColumnC has a summary value that is not null. Please advise.

Thanks,

Dat