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. Image for the cookie policy date

Reordering Columns at runtime in GridDataBoundGrid Control

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

1 Reply

AD Administrator Syncfusion Team July 21, 2004 07:27 AM UTC

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

Loader.
Up arrow icon