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.

How do I change column display order in the GridGroupingControl?


Clicking on the Columns (or VisibleColumns) property of the Grid's TableDescriptor launches the GridColumnDescriptor Collection Editor, where you select a column and click on the Up or Down arrow to rearrange the display order.

To programatically change the display order of columns in the Grid:


//Make the Col4 to be the first column to be displayed in the grid

this.GridGroupingControl1.TableDescriptor.VisibleColumns[0].Name = "Col4";


'Make the Col4 to be the first column to be displayed in the grid

Me.GridGroupingControl1.TableDescriptor.VisibleColumns(0).Name = "Col4"



Article ID: Published Date: Last Revised Date: Platform: Control:
509 04/30/2011 07/10/2014 ASP.NET Web Forms (Classic) GridGroupingControl
Did you find this information helpful?
Enzo Aug 10, 2017

It change the column name, not the order.

ali Aug 11, 2017


How can I receive an event when the order of a column changes .to save the new order in a file.


ali Aug 11, 2017

in Gridgroupingcontrol ???

Nathan Cole Jun 12, 2018

This is changing column name not display order.

Add Comment
You must log in to leave a comment

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.