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

Only Group when there is more than 1 Item

Thread ID:





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

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 05:57 PM UTC

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 06:33 PM UTC

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 05:47 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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