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
125
about select all cells of column
posted

hi guys,i want to select all cells of column when cilck the title of column,but there is not methd worked.

i need some help to let it work....

 

 

  • 469350
    Verified Answer
    Offline posted

    Here's another way to do it:


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                UltraGridLayout layout = e.Layout;
                UltraGridOverride ov = layout.Override;

                ov.HeaderClickAction = HeaderClickAction.Select;
            }

  • 69832
    Offline posted

    If you set the UltraGridColumn.SortIndicator property to 'Disabled' for the column, you will get the behavior you describe here without further intervention.