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. Image for the cookie policy date

Group data with only date

hi i want to show data with group but I only want date inside group without column name.

1 Reply

IM Indhumathy Malayappan Syncfusion Team May 30, 2016 12:27 PM UTC

Hi Atif,

Thank you for using Syncfusion Products.

Your requirement can be achieved by customizing the SfDataGrid.GroupCaptionTextFormat property as shown below.

SfDataGrid dataGrid = new SfDataGrid(); 
dataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription() 
    ColumnName = "CustomerID", 
//Customized group caption text in without column name. 
dataGrid.GroupCaptionTextFormat = "{Key} - {ItemsCount} Items"; 

Refer the below KB link for more details.

Indhumathy M 

Live Chat Icon For mobile
Up arrow icon