How can I achieve the same behaviour (field chooser on context menu of header and dropping (removing) a field directly from grid) as Outlook ?
Hi,
I'm not sure I understand. When you drag a column from the ColumnChooser into the grid, you want the column to be hidden? That doesn't seem to make a lot of sense and it's not very intuitive to the user. I don't think there is any way to do that.
Hi Mike
Thanks for the info, I already use that functionality but I need something like this:
When you drag a column header to "GroupBy Area", it automatically groups by that column, however, when you drag it to grid area nothing happens. In outlook however, it just hides that column. Can I do that?
THanks
You can use the ColumnChooser compont.
Or, you can just turn on the one that is already built-in to the grid:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Override.RowSelectors = DefaultableBoolean.True; e.Layout.Override.RowSelectorHeaderStyle = RowSelectorHeaderStyle.ColumnChooserButton; }