Class TreeGridSortSettings
Configures Tree Grid sort settings.
Inherited Members
Namespace: Syncfusion.Blazor.TreeGrid
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeGridSortSettings : SfDataBoundComponent
Constructors
TreeGridSortSettings()
Declaration
public TreeGridSortSettings()
Properties
AllowUnsort
If AllowUnsort set to false the user cannot get the TreeGrid in an unsorted state by clicking the sorted column header.
Declaration
public bool AllowUnsort { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if unsorted state is allowed; otherwise, false. The default value is true. |
Columns
Specifies the columns to sort at initial rendering of TreeGrid. Also user can get current sorted columns.
Declaration
public List<TreeGridSortColumn> Columns { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<TreeGridSortColumn> | A list of TreeGridSortColumn representing the initial sorted columns. |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
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 |
---|---|
System.Threading.Tasks.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 |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing any asynchronous operation. |