menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class DropDownTreeFieldsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DropDownTreeFieldsBuilder
    Namespace: Syncfusion.EJ2.DropDowns
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DropDownTreeFieldsBuilder : ControlBuilder

    Constructors

    DropDownTreeFieldsBuilder()

    Declaration
    public DropDownTreeFieldsBuilder()

    DropDownTreeFieldsBuilder(DropDownTreeFields)

    Declaration
    public DropDownTreeFieldsBuilder(DropDownTreeFields model)
    Parameters
    Type Name Description
    DropDownTreeFields model

    Methods

    Child(Object)

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

    Declaration
    public DropDownTreeFieldsBuilder Child(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Child(String)

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

    Declaration
    public DropDownTreeFieldsBuilder Child(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    DataSource(Action<DataManagerBuilder>)

    Declaration
    public DropDownTreeFieldsBuilder DataSource(Action<DataManagerBuilder> dataSource)
    Parameters
    Type Name Description
    System.Action<Syncfusion.EJ2.DataManagerBuilder> dataSource
    Returns
    Type
    DropDownTreeFieldsBuilder

    DataSource(Object)

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

    Declaration
    public DropDownTreeFieldsBuilder DataSource(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Expanded(String)

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

    Declaration
    public DropDownTreeFieldsBuilder Expanded(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    HasChildren(String)

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

    Declaration
    public DropDownTreeFieldsBuilder HasChildren(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    HtmlAttributes(String)

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

    Declaration
    public DropDownTreeFieldsBuilder HtmlAttributes(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    IconCss(String)

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

    Declaration
    public DropDownTreeFieldsBuilder IconCss(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    ImageUrl(String)

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

    Declaration
    public DropDownTreeFieldsBuilder ImageUrl(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    ParentValue(String)

    Specifies the parent value field mapped in the data source.

    Declaration
    public DropDownTreeFieldsBuilder ParentValue(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Query(String)

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

    Declaration
    public DropDownTreeFieldsBuilder Query(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Selectable(String)

    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 DropDownTreeFieldsBuilder Selectable(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Selected(String)

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

    Declaration
    public DropDownTreeFieldsBuilder Selected(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    TableName(String)

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

    Declaration
    public DropDownTreeFieldsBuilder TableName(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Text(String)

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

    Declaration
    public DropDownTreeFieldsBuilder Text(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Tooltip(String)

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

    Declaration
    public DropDownTreeFieldsBuilder Tooltip(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder

    Value(String)

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

    Declaration
    public DropDownTreeFieldsBuilder Value(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    DropDownTreeFieldsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved