alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SortRequest

    Represents a sorting definition requested by the grid.

    Inheritance
    object
    SortRequest
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Grids
    Assembly: Syncfusion.Blazor.Grids.dll
    Syntax
    public class SortRequest
    Remarks

    Instances of this class are provided through Sort and describe how the returned records should be ordered.

    Constructors

    SortRequest()

    Declaration
    public SortRequest()

    Properties

    Comparer

    Gets or sets the comparer associated with the sort operation.

    Declaration
    [JsonPropertyName("comparer")]
    public object? Comparer { get; set; }
    Property Value
    Type Description
    object

    An object representing a custom comparer, or null when no comparer is specified.

    Remarks

    This property can be used to carry comparer information when a custom sorting implementation is required.

    Direction

    Gets or sets the sort direction.

    Declaration
    [JsonPropertyName("direction")]
    public string? Direction { get; set; }
    Property Value
    Type Description
    string

    A string representing the requested sort direction, such as "ascending" or "descending", or null if no direction is specified.

    Name

    Gets or sets the name of the field to sort.

    Declaration
    [JsonPropertyName("name")]
    public string? Name { get; set; }
    Property Value
    Type Description
    string

    A string representing the field name, or null if no field is specified.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved