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.
Up arrow icon