menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TreeViewFieldsSettings

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    TreeViewFieldsSettings
    FieldsSettingsChildFields
    Namespace: Syncfusion.EJ2.Navigations
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TreeViewFieldsSettings : EJTagHelper

    Constructors

    TreeViewFieldsSettings()

    Declaration
    public TreeViewFieldsSettings()

    Properties

    Child

    Binds the field settings for child nodes or mapping field for nested nodes objects that contain 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 DataManager to populate the nodes.

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

    The default value is null

    Expanded

    Specifies the mapping field for expand state of the TreeView node.

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

    The default value is null

    HasChildren

    Specifies the mapping field for hasChildren to check whether a node has child nodes 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 TreeView node.

    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 TreeView node that will be added before the text.

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

    The default value is null

    Id

    Specifies the ID field mapped in dataSource.

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

    The default value is null

    Overrides
    Syncfusion.EJ2.EJTagHelper.Id

    ImageUrl

    Specifies the mapping field for image URL of each TreeView node 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

    IsChecked

    Specifies the field for checked state of the TreeView node.

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

    The default value is null

    NavigateUrl

    Specifies the mapping field for navigateUrl to be added as hyper-link of the TreeView node.

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

    The default value is null

    ParentID

    Specifies the parent ID field mapped in dataSource.

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

    The default value is null

    Query

    Defines the external Query that will execute along with 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 selected state of the TreeView node.

    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 TreeView node's 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 TreeView node.

    Declaration
    public string Tooltip { 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