Sorting is not working after grouping. If i donot use groupby column sorting works fine.
i have set AllowSortingDefault="Yes" in design page
In Code file
'Grouping Code
DgridQty.DisplayLayout.ExpandableDefault = Infragistics.WebUI.UltraWebGrid.Expandable.Yes DgridQty.DisplayLayout.ViewType = Infragistics.WebUI.UltraWebGrid.ViewType.OutlookGroupBy DgridQty.DisplayLayout.Bands(0).Columns(1).IsGroupByColumn = True'Sorting Code
DgridQty.Columns(5).SortIndicator = Infragistics.WebUI.UltraWebGrid.SortIndicator.Ascending DgridQty.Bands(0).SortedColumns.Add(DgridQty.Columns(5))
Hello Dayana,
could you try to use Add(UltraGridColumn,Boolean) Method. The true paramter should force the grid to be sorted in pre-render.
DgridQty.Columns(5).SortIndicator = Infragistics.WebUI.UltraWebGrid.SortIndicator.AscendingDgridQty.Bands(0).SortedColumns.Add(DgridQty.Columns(5), True)
Let me know if this helps
Thank you