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.

Reordering Columns at runtime in GridDataBoundGrid Control

Thread ID:





16625 Jul 21,2004 03:19 AM Jul 21,2004 03:27 AM Windows Forms 1
Tags: GridControl
Asked On July 21, 2004 03:19 AM

Hi I am using GridDataBoundGrid control. At the design time I am binding the Grid Control to a DataSet. I also specify the columns using the GrindBoundColumns collection property at the design time. When i load the form at the runtime, I hide a few columns of the GridDataBoundGrid control. I want to reorder the columns(change the index positions) at the runtime. How can I do it? If anyone has any possible solution to it please help. Thanks in advance. Regards Dingu

Administrator [Syncfusion]
Replied On July 21, 2004 03:27 AM

Try using this method, this.gridDataBoundGrid1.Model.Cols.MoveRange, to see if that will do what you need.


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.