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.

Group data with only date

Thread ID:

Created:

Updated:

Platform:

Replies:

124279 May 29,2016 10:43 PM May 30,2016 08:27 AM Xamarin.Forms 1
loading
Tags: SfDataGrid
Atif
Asked On May 29, 2016 10:43 PM

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

Indhumathy Malayappan [Syncfusion]
Replied On May 30, 2016 08:27 AM

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 


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.

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.

;