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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom Group Header Template

Thread ID:





118434 Mar 9,2015 05:42 AM UTC Mar 10,2015 06:13 AM UTC WPF 1
Tags: SfDataGrid
Asked On March 9, 2015 05:42 AM UTC


    Is there any way to add custom group header template in SfDataGrid  ?
    The default Group Header Style Is   ColumnName : Value - Count 

Attachment: GroupHeader_553ae94c.rar

Jayapradha S [Syncfusion]
Replied On March 10, 2015 06:13 AM UTC

Hi Mahesh,


Thank you for using Syncfusion products.


We have analyzed your query and it is possible to customize the group header template by using GroupCaptionTextFormat as shown in the below code snippet,


Code Snippet:

<Syncfusion:SfDataGrid x:Name="datagrid"  Grid.Row="1"







                               ItemsSource="{Binding Employees}"




Please refer the below UG document to customize the GroupHeaderText,

UG Link:  http://help.syncfusion.com/UG/Windows%20Phone%208/default.htm#!Documents/howtoformatcaptionsu.htm


You can also defines more than one summary row for every group and find the UG Link to define group summaries.

UG Link: http://help.syncfusion.com/UG/Windows%20Phone%208/default.htm#!Documents/summaries.htm


Please find the below KB document to customize the GroupKey and itemscount,

KB Link: https://www.syncfusion.com/kb/3249/how-to-customize-the-captionsummarycell-text-in-the-sfdatagrid



Kindly let us know if you have any other queries.


With Regards,




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