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.

Multi-Column sorting on a GridGroupingControl

Thread ID:





30152 Jun 13,2005 04:16 AM Jun 13,2005 06:37 AM Windows Forms 1
Tags: GridControl
Asked On June 13, 2005 04:16 AM

I am using a GridGroupingControl and would like to do a multi column sort on the data. Does anyone know how this can be achieved. All the avalailable information i''ve come across focuses on how this is achieved using GridControl and GridDataBoundGrid.

Administrator [Syncfusion]
Replied On June 13, 2005 06:37 AM

There is no UI for sorting multiple columns in a GridGroupingControl. From code to sort several columns, you add the columns the grid.TableDescriptor.SortedColumns collection. If you want a UI, you could handle TableControlCellClick event and manage the sorting yourself. For example, if the ctl-key is not pressed, clear the grid.TableDescriptor.SortedColumns collection before adding the clicked column. If is pressed, don''t clear it before adding the clicked column.


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.