Skip to main content

IGrid.GroupBy(String, Int32) Method

Groups data by values of the specified column and inserts the grouped column in the specified position between other grouped columns.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

void GroupBy(
    string columnFieldName,
    int groupIndex
)

Parameters

Name Type Description
columnFieldName String

Specifies the name of the data source field that supplies data for the processed column. If the grid does not contain the column that corresponds to the specified data field, an exception occurs.

groupIndex Int32

Specifies the column’s index among group columns.

Remarks

Refer to the GroupBy method description for more information and an example.

See Also