New to Telerik UI for Blazor? Start a free 30-day trial

Describes a group-by entry with an optional sort direction and aggregates. Maps to the Kendo/Telerik group descriptor shape: { field, dir, aggregates: [{ field, aggregate }] }. Shared group descriptor used by dataset processing.

Schema: src/common/models/grid.schema.json#/$defs/GridGroupDescriptor

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public class DataSourceGroupDescriptor

Inheritance: objectDataSourceGroupDescriptor

Constructors

C#
public DataSourceGroupDescriptor()

Properties

Aggregate functions to compute over each group's rows.

C#
public List<DataSourceAggregateDescriptor> Aggregates { get; set; }

Sort direction for the group. Defaults to Ascending.

C#
public DataSourceSortDirection Direction { get; set; }

The field to group by.

C#
public string Field { get; set; }

The runtime type of the group field. When provided, the renderer uses this to set MemberType on the underlying GroupDescriptor without a field-list lookup.

C#
public DataSourceFieldType? FieldType { get; set; }