Using a CustomAggregate result in a group header's GroupRowInfoText

4 replies. Last post: July 26, 2011 11:58 AM by Robert Pehrson
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi

I am grouping grid rows and wish to use a CustomAggregate event handler to calculate a result from the grouped rows, and display that result in the group header.

My problem is that I cannot find any syntax for the GroupRowInfoText to include the custom aggregate in the group header.  We have [caption], [value], [count],  and the built-in aggregate functions [sum()] [avg()], [min()] and [max()].  I guess I need something like [custom].

The documentation and the example show a custom aggregate being added to a footer, but without a substitution tag - i.e. "Count =", and the aggregate value gets placed at the end.  Placing the custom aggregate at the end wouldn't be as flexible as a substitution tag, but it doesn't happen in group headers. 

Can you explain how to get a custom aggregate into a group header?

Thanks

Robert

 

All times are GMT -5. The time now is 9:22 PM.
Previous Next