Hi,
how can I add a Field programmaticaly to a groupby before loading the data in a xamdatagrid?
Thks for the help.
Sacha
Hello Sacha,
Sorting/Grouping in procedural code is achieved by adding FieldSortDescription objects in the SortedFields collection of a specific field layout.
xamDataGrid1.FieldLayouts[0].SortedFields.Add(new FieldSortDescription(...));