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

Group data with only date

Thread ID:

Created:

Updated:

Platform:

Replies:

124279 May 30,2016 02:43 AM UTC May 30,2016 12:27 PM UTC Xamarin.Forms 1
loading
Tags: SfDataGrid
Atif
Asked On May 30, 2016 02:43 AM UTC

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 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 


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.

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

;