We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to use NumberFormatInfo in the SummaryColumn of the GridTableSummaryRow?

In the SfDataGrid, you can use NumberFormatInfo in the SummaryColumn of the GridTableSummaryRow by deriving a new class from GridTableSummaryCellRenderer and override its OnUpdateEditBinding virtual method.

Note: By default, summary result is displayed based on the Format specified in SummaryColumn.

C#:

Refer to the following code example to remove the default GridTableSummaryCellRenderer and add the customized GridTableSummaryCellRendererExt to the renderer’s collection in the SfDataGrid.

C#

 

The above formatting is applied to summary values as follows.

Figure 1:NumberFormatInfo is applied to summary values

 

Sample Links:

WPF

 

WinRT

 

WP

UWP

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
6005 01/19/2016 03/28/2017 UWP SfDataGrid 4.5
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.