Class DropDownTreeFields
Inherited Members
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
[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 Data Manager to populate the dropdown tree items.
Declaration
[HtmlAttributeName("dataSource")]
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
[HtmlAttributeName("expanded")]
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
[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 Dropdown Tree item.
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 Dropdown Tree item 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 |
ImageUrl
Specifies the mapping field for image URL of each Dropdown Tree item 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 |
ParentValue
Specifies the parent value field mapped in the data source.
Declaration
[HtmlAttributeName("parentValue")]
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
[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 the selected state of the Dropdown Tree item.
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 Dropdown Tree items 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 Dropdown Tree item.
Declaration
[HtmlAttributeName("tooltip")]
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
[HtmlAttributeName("value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |