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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

turn off sorting in grouped grid?

Thread ID:





16733 Jul 22,2004 03:58 PM UTC Jul 23,2004 11:52 AM UTC WinForms 3
Tags: Grouping
Daniel Chait
Asked On July 22, 2004 03:58 PM UTC

I see there''s a SortBehavior property on the DataBoundGrid control, but I dont see the equivalent in GroupingGrid. What I want is to turn off the default sorting behavior, and instead make it act like Excel, where clicking on a column header should select that column.

Administrator [Syncfusion]
Replied On July 22, 2004 06:23 PM UTC

No, this kind of selection behavior is not supported at the moment. We will have to add some hook and/or properties to add support for it, turn off the regular behavior. One question: What feature of the grouping engine do you use/plan to use with the grid? I am just wondering if it would make sense instead to use a virtual grid that displays records from a grouping engine table instead. Stefan

Daniel Chait
Replied On July 22, 2004 08:29 PM UTC

We plan on using Grouping, Sorting, Custom Summaries, Column re-arranging, multi-selection (of cells, rows & columns)... not sure what else, but that kind of stuff. Basically we want it as a sort of mini Microsoft Excel.

Administrator [Syncfusion]
Replied On July 23, 2004 11:52 AM UTC

Ok, with all these features it''s best to stick with GridGroupingControl. But things like Excel-like selection weren''t really in our mind when we did the grouping grid, so I guess there will be a couple more issues where we''ll have to provide support for or add hooks. It won''t work all right out of the box as it is now. AllowSorting, AllowDragColumns will be some properties that we''ll be adding and some events to let users dynamically enable/disable behavior based on column. I''ll also have to check how Excel-like selection can be better integrated. There is one issue that makes Excel-like selection quite tricky with grouping grid. When you select cells that span across rows in different groups, there is the issue that underlying grid-based selection mechanism is based on rows and columns, not on records. So when you expand a group the selection will not change and records that were previously selected will not be selected anymore. Same issue with sorting. Are such issues of any concern for you? With grouping grid the plan going forward is to proivde a completely different/alternative selection mechanism where each record has "IsSelected" flag. But that will only work with a record-selection based mechanism not cell-based selection. You could then choose between the old mechanism with above issues or the new record-based selection mechanism. Stefan


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

Live Chat Icon For mobile
Live Chat Icon