Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridSortColumn - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridSortColumn

    Configures grid sort column

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

    Constructors

    GridSortColumn()

    Declaration
    public GridSortColumn()

    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
    Type Description
    SortDirection

    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
    SfDataBoundComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved