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
135
Set Outlook groupby manually
posted

Hi, 

How do I set the outlook group by manually? I want a specific property to apear by default in the outlook group by bar..

Thanks

  • 469350
    Verified Answer
    Offline posted

    Hi,

        You would add the column to the SortedColumns collection and specify true for the GroupBy parameter.

        
            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {      
                e.Layout.Bands[0].SortedColumns.Add("My Column", false, true);
            }