# DataSourceGroupDescriptorFactory

## Methods

### Add(System.Linq.Expressions.Expression)

Specifies the member by which the data should be grouped.

#### Parameters

##### expression - `System.Linq.Expressions.Expression<Func>`

Member access expression which describes the member

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### Add(System.String)

Specifies the member by which the data should be grouped.

#### Parameters

##### memberName - `System.String`

Member name

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### Add(System.String,System.Type)

Specifies the member by which the data should be grouped.

#### Parameters

##### memberName - `System.String`

Member name

##### memberType - `System.Type`

Member type

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### Add(System.String,System.Type,Kendo.Mvc.ListSortDirection)

Specifies the member by which the data should be grouped.

#### Parameters

##### memberName - `System.String`

Member name

##### memberType - `System.Type`

Member type

##### sortDirection - [ListSortDirection](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc/listsortdirection)

Sort order

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### Add(System.String,Kendo.Mvc.ListSortDirection)

Specifies the member by which the data should be grouped.

#### Parameters

##### memberName - `System.String`

Member type

##### sortDirection - [ListSortDirection](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc/listsortdirection)

Sort order

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### Add(System.String,Kendo.Mvc.ListSortDirection,System.String)

Specifies the member by which the data should be grouped.

#### Parameters

##### memberName - `System.String`

Member type

##### sortDirection - [ListSortDirection](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc/listsortdirection)

Sort order

##### sortCompare - `System.String`

The name of the JS handler that is used for sorting the groups.

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### AddDescending(System.Linq.Expressions.Expression)

Specifies the member by which the data should be sorted in descending order and grouped.

#### Parameters

##### expression - `System.Linq.Expressions.Expression<Func>`

Member access expression which describes the member

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### AddDescending(System.String)

Specifies the member by which the data should be sorted in descending order and grouped.

#### Parameters

##### memberName - `System.String`

Member name

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.

### AddDescending(System.String,System.Type)

Specifies the member by which the data should be sorted in descending order and grouped.

#### Parameters

##### memberName - `System.String`

Member name

##### memberType - `System.Type`

Member type

#### RETURNS

The [DataSourceGroupDescriptorBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datasourcegroupdescriptorbuilder) instance for further configuration of the group.
