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

GridListControl - Column Display Order

Thread ID:





54540 Jan 11,2007 01:22 AM UTC Jan 11,2007 04:18 AM UTC WinForms 1
Tags: GridControl
Sreenivasa Ponnaluru
Asked On January 11, 2007 01:22 AM UTC

How to change the column display order in the GridListControl.

Administrator [Syncfusion]
Replied On January 11, 2007 04:18 AM UTC

Hi Sreeni,

You can derive GridListControl and override the CreateGridColumn member. A column is passed into this member as a parameter. Before calling the baseclass, modify this column in such a manner as to create the columns in the order you want to see them. So, for example, if you want to swap columns 1 & 2, then code such as this should do it.

public class MyGridListControl : GridListControl
public override void CreateGridColumn(PropertyDescriptor pd, int column)
if(column == 1)
column = 2;
else if(column == 2)
column = 1;

base.CreateGridColumn(pd, column);

Best Regards,


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