Hi All,
I am using xamgrid to show average value of grouped columns. In SummaryDefinition tag we use ColumnKey="ClosingPrice" to calculate the avg of ClosingPrice property. Can we change the SummaryDefinition text like "Closing Price". If yes how it is possible? My code is following.
<ig:TextColumn.SummaryColumnSettings> <ig:SummaryColumnSettings> <ig:SummaryColumnSettings.GroupBySummaryDefinitions> <ig:SummaryDefinition ColumnKey="ClosingPrice"> <ig:SummaryDefinition.SummaryOperand> <ig:AverageSummaryOperand/> </ig:SummaryDefinition.SummaryOperand> </ig:SummaryDefinition> <ig:SummaryDefinition ColumnKey="StandardDeviation"> <ig:SummaryDefinition.SummaryOperand> <ig:AverageSummaryOperand/> </ig:SummaryDefinition.SummaryOperand> </ig:SummaryDefinition> </ig:SummaryColumnSettings.GroupBySummaryDefinitions> </ig:SummaryColumnSettings> </ig:TextColumn.SummaryColumnSettings>
Hello Abu,
Thank you for your post. I have been looking into it and I created a sample project for you following this approach:
http://help.infragistics.com/Help/NetAdvantage/WPF/2012.1/CLR4.0/html/xamGrid_Display_Summary_Row_in_xamGrid_GroupBy_Headers.html
and add a Converter in order to be able to change the Text in the Group rows. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hi Stefan,
Great, this is very helpful for me. How can we increase the font of grouped values. I highlighted the values who i want to increase font. Column name and aggregate functions have large font than grouped values. Screen shot is attached. Thank you so much.