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

Multi-Column sorting on a GridGroupingControl

Thread ID:





30152 Jun 13,2005 08:16 AM UTC Jun 13,2005 10:37 AM UTC WinForms 1
Tags: GridControl
Asked On June 13, 2005 08:16 AM UTC

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 10:37 AM UTC

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.

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