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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataTemplate for GridSummaryColumn in WPF

Thread ID:

Created:

Updated:

Platform:

Replies:

151235 Feb 4,2020 06:21 PM UTC Feb 5,2020 01:18 PM UTC WPF 1
loading
Tags: SfDataGrid
Eric BIEF
Asked On February 4, 2020 06:21 PM UTC

Is it a way to use DataTemplate for GridSummaryColumn in WPF ?

Something like :
<syncfusion:GridSummaryColumn
                                        Name="SummaryExecutedQuantity"
                                        Format="'{Sum:n0}'"
                                        MappingName="ExecutedQuantity"
                                        SummaryType="DoubleAggregate">
                                        <syncfusion:GridSummaryColumn.Template>
                                            <DataTemplate>
                                                <TextBlock
                                                    HorizontalAlignment="Center"
                                                    VerticalAlignment="Center"
                                                    FontSize="10"
                                                    Text="{Binding Path=SummaryExecutedQuantity}" />
                                            </DataTemplate>
                                        </syncfusion:GridSummaryColumn.Template>
                                    </syncfusion:GridSummaryColumn>

If yes could give me an example.
Thanks
Eric

Saravanan Ayyanar [Syncfusion]
Replied On February 5, 2020 01:18 PM UTC

Hi Eric, 
 
Thank you for using Syncfusion controls. 
 
We have checked your reported scenario. You are tried correct way to use DataTemplate for GridSummaryColumn in WPF. Please refer the sample link below, 
 
Sample Link: 
 
UG Link: 
 
Please let us know, if you require further assistance on this. 
 
Regards, 
Saravanan A. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon