Hi,
I was testing the summary row to see if it could be useful for me.
So I set up a simple COUNT expression test. Desperately the summary item is always empty.
Maybe I missed some main information in the documentation? Do I have to do some additional work for this in an event or something else? Or maybe I'm using it in the wrong event? I also tested with some AggregateEXprssions, but the result was the same. I see the row, but it is empty. The result was also the same when I used the code where I'm initializing the grid's content.
My code is like this:
}
Thanx
Nadine
I was testing the summary row to see if it could be useful for me.
So I set up a simple COUNT expression test. Desperately the summary item is always empty.
Maybe I missed some main information in the documentation? Do I have to do some additional work for this in an event or something else? Or maybe I'm using it in the wrong event? I also tested with some AggregateEXprssions, but the result was the same. I see the row, but it is empty. The result was also the same when I used the code where I'm initializing the grid's content.
My code is like this:
private
void rGrid_DataBindingComplete(object sender, GridViewBindingCompleteEventArgs e)
{
...GridViewSummaryItem
summaryItem = new GridViewSummaryItem();
summaryItem.Name =
"name_Guid";
summaryItem.Aggregate =
GridAggregateFunction.Count;
GridViewSummaryRowItem summaryRowItem = new GridViewSummaryRowItem();
summaryRowItem.Add(summaryItem);
this.rGrid.SummaryRowsTop.Add(summaryRowItem);
}
Thanx
Nadine