i have a grid,i want to save the name of the columns in a file after i change the order of the columns (by drag and drop), i have tried to loop on the columns but every time in return the columns with its initial stat (before i change the order of the columns)
how can i do that?
thanks
thank you for your reply,
your code works great, but what if i want to sort the columns in columns array in the grid by VisiblePosition or somehow get a collection of columns sorted by VisiblePosition
To get a column visible position check this: column.Header.VisiblePosition
http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v8.3~Infragistics.Win.UltraWinGrid.ColumnHeader~VisiblePosition.html