Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2290
Summary Row in GroupBy Headers
posted

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>