Search results

Fields API in JavaScript Dropdown Tree API control

Properties

child

string | FieldsModel

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

dataSource

DataManager | Object[]

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

Defaults to []

expanded

string

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

hasChildren

string

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

htmlAttributes

string

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

iconCss

string

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

imageUrl

string

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

parentValue

string

Specifies the parent value field mapped in the data source.

query

Query

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

Defaults to null

selected

string

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

tableName

string

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

text

string

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

tooltip

string

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

value

string

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