Class TreeViewFieldsSettings
Inherited Members
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
[HtmlAttributeName("child")]
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 | Description |
---|---|
MvcTemplate<System.Object> |
DataSource
Specifies the array of JavaScript objects or instance of DataManager to populate the nodes.
Declaration
[HtmlAttributeName("dataSource")]
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
[HtmlAttributeName("expanded")]
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
[HtmlAttributeName("hasChildren")]
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
[HtmlAttributeName("htmlAttributes")]
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
[HtmlAttributeName("iconCss")]
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
[HtmlAttributeName("id")]
public override string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Overrides
ImageUrl
Specifies the mapping field for image URL of each TreeView node where image will be added before the text.
Declaration
[HtmlAttributeName("imageUrl")]
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
[HtmlAttributeName("isChecked")]
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
[HtmlAttributeName("navigateUrl")]
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
[HtmlAttributeName("parentID")]
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
[HtmlAttributeName("query")]
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
[HtmlAttributeName("selectable")]
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
[HtmlAttributeName("selected")]
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
[HtmlAttributeName("tableName")]
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
[HtmlAttributeName("text")]
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
[HtmlAttributeName("tooltip")]
public string Tooltip { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |