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
80
How to change label text of summary?
posted

I am using webdatagrid i have add a summary row and calculating the sum of a column using summary type sum. Now the label text is Sum i want to change the text of sum to another text.

How it is possible?????????

It is urgent please.

Regards

Akhtar Abbas

  • 8421
    Verified Answer
    posted

    Hello Akhtar,

    When specifying the ColumnSummaries you can set the property CustomSummaryName on the Summary object to change the label. This would look something like the following:

    <Behaviors>
        <ig:SummaryRow>
            <ColumnSummaries>
                <ig:ColumnSummaryInfo ColumnKey="UnitPrice">
                    <Summaries>
                        <ig:Summary SummaryType="Sum" CustomSummaryName="MySum" />
                    </Summaries>
                </ig:ColumnSummaryInfo>
            </ColumnSummaries>
        </ig:SummaryRow>
    </Behaviors>