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.

Reorder Columns in Grid Grouping Control

Thread ID:

Created:

Updated:

Platform:

Replies:

67991 Sep 5,2007 07:22 PM Jul 4,2011 07:46 AM Windows Forms 2
loading
Tags: Grouping
Sam
Asked On September 5, 2007 07:22 PM

Hi,

How do i reorder columns in GridGroupingcontrol, I have assigned the datasource of GridGroupingcontrol as arraylist and i need to change the order of the columns.

Thanks.

Ajish [Syncfusion]
Replied On September 6, 2007 04:39 PM

Hi Sam,

To change the order of the columns in Gridgrouping control you can make use of the following code

this.gridGroupingControl1.TableDescriptor.VisibleColumns.Move(0, 1);

Here is a sample for your reference,

Sample: http://websamples.syncfusion.com/samples/Grid.Windows/F67991/main.htm

Kindly take a look and let me know if this helps.

Regards,
Ajish.

Cyril George
Replied On July 4, 2011 07:46 AM

this doesnt work always! a bug ?
Also the sample link is broken - wth to do?!?


CONFIRMATION

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.

;