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.
Syncfusion Feedback

drag column headers

Thread ID:

Created:

Updated:

Platform:

Replies:

63100 Jun 28,2007 07:25 AM UTC Jun 28,2007 05:45 PM UTC Windows Forms 1
loading
Tags: GridControl
John
Asked On June 28, 2007 07:25 AM UTC


Hi,

I set this property:

gridDataboundGrid.ControllerOptions |= GridControllerOptions.DragColumnHeader;

and then I drag a column to a new location. For some reason, when I load a new table into the grid, the old columns stay in place and the new column headers don't load. How do I fix this? Thanks!

haneefm [Syncfusion]
Replied On June 28, 2007 05:45 PM UTC

Hi Coder12345,

After setting the grid.DataSource/DataMember properties, try calling

this.grid.Binder.InitializeColumns();
this.grid.Binder.ResetHierarchyLevels();

to see if this will take care of this problem.

Best regards,
Haneef

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.

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

;