AD
Administrator
Syncfusion Team
November 14, 2005 09:06 AM UTC
Try creating a new GridBoundColumnsCollections object and populate this object with new GridBoundColumns in the order of their appearance. Then set this new GridBoundColumnsCollections object to the grid.GridBoundColumns property, and then call grid.Binder.InitialzeColumns.
Here is a little sample that persists/restores the order of GridBoundBoundColumns to a binary file. It was done with an earlier version so, you should delete the MySizes.Bin file and change the references before building and running the sample. http://www.syncfusion.com/support/user/uploads/2862-1.zip