Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
670
How to mimic Outlook FieldChooser?
posted

How can I achieve the same behaviour (field chooser on context menu of header and dropping (removing) a field directly from grid) as Outlook ?

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    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;  
            }

Children