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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Reordering Columns at runtime in GridDataBoundGrid Control

Thread ID:





16625 Jul 21,2004 07:19 AM UTC Jul 21,2004 07:27 AM UTC WinForms 1
Tags: GridControl
Asked On July 21, 2004 07:19 AM UTC

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 07:27 AM UTC

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.

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

Live Chat Icon For mobile
Live Chat Icon