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.
I attached the modified sample.
Thank you so much Stefan.My problem is solved.
Regards
Sufyan
Hello Sufyan,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
How can this be done in XamDataGrid?
Hello,
Could you pelase be more specific, what exact functionality you want to achieve in XamDataGrid?