TreeViewFieldMapping

Specifies the mapping of custom datasource field names to TreeView fields.

Props

The following table outlines the props for the TreeViewFieldMapping:

NameTypeDefaultDescription
children
string
-

Specifies the mapping field for the child array in hierarchical data.

disabled
string
'disabled'

Specifies the mapping field for the disabled flag of a node.

hasChildren
string
'hasChildren'

Specifies the mapping field for hasChildren to check whether a node has child nodes or not.

icon
string
'icon'

Specifies the mapping field for the icon of a node.

id
string
'id'

Specifies the mapping field for the unique identifier of a node.

label
string
'label'

Specifies the mapping field for the display label of a node.

navigateUrl
string
'navigateUrl'

Specifies the mapping field for the navigation URL of a node.

parentId
string
'parentId'

Specifies the mapping field for the parent's id in self-referential data.

selectable
string
'selectable'

Specifies the mapping field for the selectable flag of a node.

tooltip
string
'tooltip'

Specifies the mapping field for the tooltip string of a node.