We have developed our own Group By box for the UltraWinGrid. At runtime, it displays the columns in the order of the Column.Index specified in the UltraWinGrid designer. However when you display the ColumnChooser, the columns are displayed in the order defined in the column arrangement overview. I would like to know how I can have my Group By custom control display the columns in the same order as my ColumnChooser. I'm basically looking for a property like Column.DisplayIndex.
Thanks
Erwin Pant
The column's Header.VisiblePosition property should give you what you're after.
Thanks for the prompt response. It worked.
My custom group by box is a floating window with a grid. Is there a way to make my group by box ressemble the column chooser window or vice versa ? (I've uploaded an image with the two side-by-side).
In your grid, you can hide the column headers, and likely set appearance-related properties on the second column to make the cells "look" like column headers.
You might also consider looking at the source code for the WinGridColumnChooser for more information.