Hi,
how can I group by a field in code behind?
best regards
thanks
try thisFieldSortDescription categorySort = new FieldSortDescription();categorySort.Direction = ListSortDirection.Descending;categorySort.FieldName = "GroupCategory";categorySort.IsGroupBy = true;xamDataGrid1.FieldLayouts[0].SortedFields.Add(categorySort); Regards,atus