menu

ASP.NET Core - EJ2

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

    Show / Hide Table of Contents

    Class DropDownTreeFields

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DropDownTreeFields
    Namespace: Syncfusion.EJ2.DropDowns
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DropDownTreeFields : EJTagHelper

    Constructors

    DropDownTreeFields()

    Declaration
    public DropDownTreeFields()

    Properties

    Child

    This field specifies the child items or mapping field for the nested child items that contains an array of JSON objects.

    Declaration
    public object Child { 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>

    DataSource

    Specifies the array of JavaScript objects or instance of Data Manager to populate the dropdown tree items.

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

    The default value is null

    Expanded

    This fields specifies the mapping field to define the expanded state of a Dropdown tree item.

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

    The default value is null

    HasChildren

    This field specifies the mapping field to indicate whether the Dropdown tree item has children or not.

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

    The default value is null

    HtmlAttributes

    Specifies the mapping field for htmlAttributes to be added to the Dropdown Tree item.

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

    The default value is null

    IconCss

    Specifies the mapping field for icon class of each Dropdown Tree item that will be added before the text.

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

    The default value is null

    ImageUrl

    Specifies the mapping field for image URL of each Dropdown Tree item where image will be added before the text.

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

    The default value is null

    ParentValue

    Specifies the parent value field mapped in the data source.

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

    The default value is null

    Query

    Defines the external Query that will execute along with the data processing.

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

    The default value is null

    Selectable

    Specifies whether the node can be selected by users or not When set to false, the user interaction is prevented for the corresponding node.

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

    The default value is null

    Selected

    Specifies the mapping field for the selected state of the Dropdown Tree item.

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

    The default value is null

    TableName

    Specifies the table name used to fetch data from a specific table in the server.

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

    The default value is null

    Text

    Specifies the mapping field for text displayed as Dropdown Tree items display text.

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

    The default value is null

    Tooltip

    Specifies the mapping field for tooltip that will be displayed as hovering text of the Dropdown Tree item.

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

    The default value is null

    Value

    Specifies the value(ID) field mapped in the data source.

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

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved