menu

Blazor

  • Code Examples
  • 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
    GridSortColumn
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GridSortColumn : OwningComponentBase

    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
    SortDirection

    Field

    Defines the field name of sort column.

    Declaration
    public string Field { get; set; }
    Property Value
    Type
    System.String

    IsFromGroup

    Defines the sorted column whether or from grouping operation.

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

    Methods

    OnInitializedAsync()

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

    OnParametersSetAsync()

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