menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridSortSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeGridSortSettings

    Configures Tree Grid sort settings.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    TreeGridSortSettings
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.SetDataManager<T>(Object)
    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
    SfDataBoundComponent.OnInitializedAsync()

    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.

    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved