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

Custom Grouping

Thread ID:

Created:

Updated:

Platform:

Replies:

31589 Jul 11,2005 12:17 PM UTC Jul 11,2005 04:25 PM UTC WinForms 4
loading
Tags: Grouping
Siva Vasanthan
Asked On July 11, 2005 12:17 PM UTC

Hi, Currently I am setting the DataSource of a GroupingGrid to a Datatable and trying to do the grouping based on a number of columns(based on 3 columns of each rows). I am setting those three columns to GridGroupingControl.TableDescriptor.GroupedColumns property of the control. But, what is happening is that when the second and third grouping fields are empty on a particular row, it is creating empty grouping for second and third level and adding those rows (records) under that hierarchy. But, what I want in that situation is that simply drop those rows under the first level of grouping without creating second and third empty groupings. I am wondering whether there is a property I can set in the grouping grid control to do that to customise the grouping mechanism or can I override a method in the grouping grid to do that. Thanks in advance, Siva.

Siva Vasanthan
Replied On July 11, 2005 12:25 PM UTC

I can drop a screen shot to describe this if that helps, Thanks,

Siva Vasanthan
Replied On July 11, 2005 01:21 PM UTC

Also, the groupings are currently based on the alphabetical order. Can we change the ordering based on a custom ordering?

Siva Vasanthan
Replied On July 11, 2005 01:32 PM UTC

Alternatively, can we hide the empty grouping heading rows?

Administrator [Syncfusion]
Replied On July 11, 2005 04:25 PM UTC

Here is a sample that shows how you can not display the group caption row if the group only a few members. http://www.syncfusion.com/Support/user/uploads/ConditonalCaptions_1e92005a.zip To do custom sorting or grouping, you can use a custom categorizer. Here are some links to forum threads that have samples in them. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=15751 http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=26206

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

;