Class GridSortColumn
Configures grid sort column.
Inheritance
GridSortColumn
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridSortColumn : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
GridSortColumn()
Declaration
Properties
Direction
Defines the direction of sort column. Available directions are,.
- AscendingDefault. Sorts records in ascending order.
- DescendingSorts records in descending order.
Declaration
[Parameter]
public SortDirection Direction { get; set; }
Property Value
Field
Defines the field name of sort column.
Declaration
[Parameter]
public string Field { get; set; }
Property Value
IsFromGroup
Defines the sorted column whether or from grouping operation.
Declaration
[Parameter]
public bool IsFromGroup { get; set; }
Property Value
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Overrides
Implements