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
Anyone know?
Hi,
I've never seen this behavior before. It sounds like a bug to me. You might want to try getting the latest Hot Fix and see if the issue is already fixed.
I wonder if this has something to do with the fact that the column being summarized is not visible - since it is grouped. Just as a test, try setting HiddenWhenGroupBy on column's A and B to false and see if that makes any difference.