menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridSortSettings - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeGridSortSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    TreeGridSortSettings
    Namespace: Syncfusion.EJ2.TreeGrid
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeGridSortSettings : EJTagHelper

    Constructors

    TreeGridSortSettings()

    Declaration
    public TreeGridSortSettings()

    Properties

    AllowUnsort

    If set to false, the user cannot reset the TreeGrid to an unsorted state by clicking on the sorted column header. When true, clicking an already sorted column header will toggle the sort direction or remove sorting.

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

    The default value is true

    Columns

    Specifies the columns to be sorted at initial rendering of the TreeGrid. This property can also be used to get or modify the currently sorted columns at runtime.

    Declaration
    public object Columns { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved