Class TreeGridSortColumn
Configures Tree Grid sort column.
Inherited Members
Namespace: Syncfusion.Blazor.TreeGrid
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeGridSortColumn : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
TreeGridSortColumn()
Declaration
public TreeGridSortColumn()
Properties
Direction
Defines the direction of sort column.
Declaration
[Parameter]
public SortDirection Direction { get; set; }
Property Value
| Type | Description |
|---|---|
| SortDirection | One of the SortDirection enumeration values. |
Field
Defines the field name of sort column.
Declaration
[Parameter]
public string Field { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The name of the field to sort. |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |
Overrides
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing any asynchronous operation. |