Reorder Columns in Grid Grouping Control

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.

2 Replies

AJ Ajish Syncfusion Team September 6, 2007 08:39 PM UTC

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.


CG Cyril George July 4, 2011 11:46 AM UTC

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


Loader.
Up arrow icon