Syncfusion.SfDataGrid.XForms
Example 
Syncfusion.SfDataGrid.XForms Namespace > SfDataGrid Class : GroupColumnDescriptions Property

GroupColumnDescriptions Property

Gets or sets the GroupColumnDescriptions of the SfDataGrid. The user can get the columns that represent grouping from the GroupColumnDescriptions collection. SfDataGrid allows to perform grouping from the code by defining the GroupColumnDescription object and adding it in the GroupColumnDescriptions collection.
Syntax
public GroupColumnDescriptions GroupColumnDescriptions {get; set;}

Property Value

The GroupColumnDescriptions collection of SfDataGrid.
Remarks
SfDataGrid allows grouping by which the records having identical values in the grouped column are combined to form a group. The user can get the columns that represent grouping from the GroupColumnDescriptions collection. SfDataGrid groups the data based on the GroupColumnDescription object that is added to the GroupColumnDescriptions collection. The user must set the GroupColumnDescription.ColumnName as the MappingName of the column, he wants to group.
Example
dataGrid.GroupColumnDescriptions.Add (new GroupColumnDescription () 
    {
    ColumnName = "CustomerID",
    });
AssemblyVersion

Syncfusion.SfDataGrid.XForms: 17.3451.0.26

See Also