Class GridSortColumn
Configures grid sort column
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
GridSortColumn
Assembly: Syncfusion.Blazor.dll
Syntax
public class GridSortColumn : SfDataBoundComponent
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
public SortDirection Direction { get; set; }
Property Value
Field
Defines the field name of sort column.
Declaration
public string Field { get; set; }
Property Value
Type |
Description |
System.String |
|
IsFromGroup
Defines the sorted column whether or from grouping operation.
Declaration
public bool IsFromGroup { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides