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

Describes a sort operation applied to data before rendering. Standardized to match Telerik.DataSource's SortDescriptor (field + direction only). Row-limiting is a separate concept — see DatasetConfig.Take / GridConfig.Take, which map to Telerik.DataSource's standard paging (Page/PageSize).

Definition

Namespace:Telerik.Blazor.Components.DatAInsightsComposer

Assembly:Telerik.Blazor.DatAInsightsComposer.dll

Syntax:

C#
public class GridSortConfig

Inheritance: objectGridSortConfig

Constructors

C#
public GridSortConfig()

Properties

Sort direction. Use Descending for "top N" / "highest", Ascending for "bottom N" / "lowest".

C#
public DataSourceSortDirection Direction { get; set; }

The field to sort by. Must match a field name from the available fields list.

C#
public string Field { get; set; }