FieldsModel

23 Sep 20251 minute to read

Interface for a class Fields

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| { : }[]

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

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.

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.

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.