menu

Blazor

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

    Show / Hide Table of Contents

    Class GridSortSettings

    Configures grid sorting.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    GridSortSettings
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.SetDataManager<T>(Object)
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GridSortSettings : SfDataBoundComponent

    Constructors

    GridSortSettings()

    Declaration
    public GridSortSettings()

    Properties

    AllowUnsort

    If AllowUnsort set to false the user can not get the grid in unsorted state by clicking the sorted column header.

    Declaration
    public bool AllowUnsort { get; set; }
    Property Value
    Type
    System.Boolean

    Columns

    Specifies the columns to sort at initial rendering of Grid. Also user can get current sorted columns, use GridSortColumn component to set initial sort columns.

    Declaration
    public List<GridSortColumn> Columns { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<GridSortColumn>

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnParametersSetAsync()

    UpdateChildProperties(String, List<GridSortColumn>)

    Declaration
    public void UpdateChildProperties(string key, List<GridSortColumn> value)
    Parameters
    Type Name Description
    System.String key
    System.Collections.Generic.List<GridSortColumn> value
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved