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.

Only Group when there is more than 1 Item

Thread ID:





119978 Aug 19,2015 06:57 PM Aug 22,2015 01:47 AM WPF 3
Tags: SfDataGrid
Rudy James
Asked On August 19, 2015 06:57 PM

Is there any built in way to only group when there are multiple items or would that require custom grouping?

Ashok N [Syncfusion]
Replied On August 20, 2015 01:57 PM

Hi Rudy,

Thank you for contacting Syncfusion support.

We have analyzed your query and we couldn’t understand your requirement clearly. We don’t have direct built in support to group the columns based your requirement in SfDataGrid, but using custom grouping option we can group the columns based on your requirement. Please refer to the following UG and KB links to find more details on the custom grouping in SfDataGrid.

UG link: http://docs.syncfusion.com/wpf/sfdatagrid/grouping 

KB link: http://www.syncfusion.com/kb/2732/how-to-apply-the-custom-grouping-while-grouping-the-column-using-groupdroparea 

Please let us know if you require further assistance on this.


Rudy James
Replied On August 20, 2015 02:33 PM

Sorry if I wasn't clear. I just mean I just want a regular row to show up with no summary..not expandable or collapsible..just like there was no grouping applied to any row. 
So only have a group with more than one item show the summary and be able to expand or collapse. I'll see if I can make it happen with custom grouping. Thanks for the quick response.

Ashok N [Syncfusion]
Replied On August 22, 2015 01:47 AM

Hi Rudy,

Thank you for your update. We have analyzed your query and in our SfDataGrid we don’t have support for partial grouping. If we group the column in SfDataGrid, it will create the group with summary row, this is default behavior .

Please let us know if you require further assistance on this.




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.