When the grid is opened, the grouping is being done as expected. The only problem is the user wants the groupings to be expanded when opened to display all rows within the first grouping. How can I do this?
Thanks
Clay Seifert
Hi Clay,
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.ViewStyleBand = ViewStyleBand.OutlookGroupBy; e.Layout.Bands[0].SortedColumns.Add(e.Layout.Bands[0].Columns["Int32 1"], false, true); e.Layout.Rows[0].Expanded = true; }
Thanks Mike.