Hi!
How do you sort the columns alphabetically in the window that is opened when calling the method ShowColumnChooser on the grid?
Hi Emelia,
I guess the ColumnDisplayOrder was added in a later version, then. There's no way to do it in a version before that property was added. You will need to upgrade if you want to control the order.
I'm using infragistics ver. 6.2 and in that version there is no property called ColumnDisplayOrder. How do I solve the problem with that version?
Regard, Emelia
The columns in the ColumnChooser are sorted alphbetically by default. If your columns are not showing up alphabetically, then you must be explicitly changing the order.
The way you would change the order is like so:
private void ultraGrid1_BeforeColumnChooserDisplayed(object sender, BeforeColumnChooserDisplayedEventArgs e) { e.Dialog.ColumnChooserControl.ColumnDisplayOrder = ColumnDisplayOrder.SameAsGrid; }