menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TreeGridSortSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    TreeGridSortSettingsBuilder
    Namespace: Syncfusion.EJ2.TreeGrid
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeGridSortSettingsBuilder : ControlBuilder

    Constructors

    TreeGridSortSettingsBuilder()

    Declaration
    public TreeGridSortSettingsBuilder()

    TreeGridSortSettingsBuilder(TreeGridSortSettings)

    Declaration
    public TreeGridSortSettingsBuilder(TreeGridSortSettings model)
    Parameters
    Type Name Description
    TreeGridSortSettings model

    Methods

    AllowUnsort(Boolean)

    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 TreeGridSortSettingsBuilder AllowUnsort(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    TreeGridSortSettingsBuilder

    Columns(Object)

    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 TreeGridSortSettingsBuilder Columns(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    TreeGridSortSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved