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

drag column headers


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!

1 Reply

HA haneefm Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon