ItemsModel

Defines various options for setting the data source, field mappings and customization for the items in the tree list.

Properties

child String ItemsModel

Specifies the field name within the data source to map to the list item child items.

Default: null

dataStore {:} DataStore String[]

Specifies a list of items that should be bound to the control either via a local object or a remote data source.

Default: []

expanded String

Specifies the field name within the data source to map to the list item to being expanded or collapsed.

Default: null

hasChildren String

Specifies the field name within the data source to map to the list item to specify if the item has children or not.

Default: null

htmlAttributes {:}

Specifies additional HTML attributes, such as title, styles, class, id, and name, in a key-value pair format that will be appended to the HTML element. If both the property and equivalent HTML attributes are configured, then the control overrides the property value with the HTML attributes.

Default: {}

iconCss String

Specifies the field name within the data store to map to the list item icon CSS. The icon will be displayed before the list item text.

Default: null

imageUrl String

Specifies the field name within the data source to map to the list item image URL which is displayed just before the list item text.

Default: null

parentValue String

Specifies the field name within the data source to map to the list item parent value.

Default: null

query Query

Specifies a query that will be executed against the data source before the data source results are bound to the control.

Default: null

selectable String

Specifies the field name within the data source to map to the list item to determine if the item can be selected or not.

Default: null

selected String

Specifies the field name within the data source to map to the list item being selected or unselected.

Default: null

tableName String

Specifies the table name where the data should be pulled from.

Default: null

text String

Specifies the field name within the data source to map to the list item text.

Default: null

tooltip String

Specifies the field name within the data source to map to the list item tooltip.

Default: null

value String

Specifies the field name within the data source to map to the list item value.

Default: null