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

sorting a grouped grid

Thread ID:

Created:

Updated:

Platform:

Replies:

22243 Dec 7,2004 06:48 PM UTC Apr 21,2005 03:47 PM UTC WinForms 9
loading
Tags: Grouping
Anthony Avella
Asked On December 7, 2004 06:48 PM UTC

If I have a grid sorted by 1+ columns, how can I sort the columns by 2+ columns? I am aware that a user can sort the grid''s detail rows by one column by clicking on the column he or she would like to sort by. Can the grid be sorted by more than column (the sort doesn''t have to be done by the user, I can write code to take the user''s requested sort columns and sort the rows programatically)? Can the user sort the summary rows by 1 or more columns? Thanks

Administrator [Syncfusion]
Replied On December 7, 2004 08:52 PM UTC

There is currently no UI to allow your user to sort by multiple columns. But you can programatically sort by several columns by adding names to the SortedColumns collection. this.gridGroupingControl1.TableDescriptor.SortedColumns.Clear(); this.gridGroupingControl1.TableDescriptor.SortedColumns.Add("Col1", ListSortDirection.Ascending); this.gridGroupingControl1.TableDescriptor.SortedColumns.Add("Col2", ListSortDirection.Descending);

Anthony Avella
Replied On December 10, 2004 01:40 PM UTC

Is there any way to sort the summary rows of a grouped grid? >There is currently no UI to allow your user to sort by multiple columns. But you can programatically sort by several columns by adding names to the SortedColumns collection. > >this.gridGroupingControl1.TableDescriptor.SortedColumns.Clear(); >this.gridGroupingControl1.TableDescriptor.SortedColumns.Add("Col1", ListSortDirection.Ascending); >this.gridGroupingControl1.TableDescriptor.SortedColumns.Add("Col2", ListSortDirection.Descending); >

Administrator [Syncfusion]
Replied On December 10, 2004 05:40 PM UTC

No, not at this time. The grouping is done based on the sort order of the records. Once the records are grouped the summaries are dependant on that order. In order to be able to sort by summary rows we first need to make some changes to the way sorting is handling inside the grouping engine. We need to add support there for being able to provide a mapping that allows specifying a custom sort order. We have that logged as a feature request but haven''t been able to work on it yet. Stefan

Anthony Avella
Replied On December 14, 2004 05:29 PM UTC

Do you have any idea when you''ll get to work on this? It seems like a logical feature of a grouped grid. >No, not at this time. The grouping is done based on the sort order of the records. Once the records are grouped the summaries are dependant on that order. > >In order to be able to sort by summary rows we first need to make some changes to the way sorting is handling inside the grouping engine. We need to add support there for being able to provide a mapping that allows specifying a custom sort order. > >We have that logged as a feature request but haven''t been able to work on it yet. > >Stefan >

Administrator [Syncfusion]
Replied On December 14, 2004 07:54 PM UTC

We first have to wrap up the 3.0 version and work a bit more on documentation. I am optimistic we should get this feature working in another 3-4 weeks. The feature itsself is a challenge, it is not easy. Stefan

Faraz Haque
Replied On April 20, 2005 02:46 PM UTC

Any news on sorting summary rows? My clients have requested this feature and I am stuck!! >We first have to wrap up the 3.0 version and work a bit more on documentation. I am optimistic we should get this feature working in another 3-4 weeks. The feature itsself is a challenge, it is not easy. > >Stefan

Administrator [Syncfusion]
Replied On April 21, 2005 02:33 PM UTC

In our 3.2 release, there is a \Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Grouping\SortBySummaryInCaption sample that shows this can be done.

Faraz Haque
Replied On April 21, 2005 02:52 PM UTC

Is there a property change in the grouping grid in 3.2 release that enables this or can it also be done with 3.0.1.0 ? If its possible to do it with 3.0.1.0, can you please post the example. thanks >In our 3.2 release, there is a \Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Grouping\SortBySummaryInCaption sample that shows this can be done.

Administrator [Syncfusion]
Replied On April 21, 2005 03:47 PM UTC

No. There were code changes in the 3.1 release to allow support this feature.

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

;