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
190
Group by in win grid programmitically
posted

1)How I can set the outlook group by some column programmatically?

2) How I remove the option to change the group by column by user?

 

Thanks  a lot!

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {        
                e.Layout.ViewStyleBand = ViewStyleBand.OutlookGroupBy;
                e.Layout.Bands[0].SortedColumns.Add("Int32 1", false, true);
                e.Layout.GroupByBox.Hidden = true;
               
            }

Children
No Data