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.
https://www.syncfusion.com/kb/6907/how-to-customize-groupcaptiontextformat-in-sfdatagrid

Regards,
Indhumathy M 


Loader.
Up arrow icon