Advanced User Interface Controls and Components
Specifies an object that map the fields names from data source to the ones used by the TreeView.
Variable | Type | Details |
---|---|---|
allowDrag (default: 'allowDrag') | String | Specifies the name of a property in your data source which determines whether item is allowed to be dragged |
allowDrop (default: 'allowDrop') | String | Specifies the name of a property in your data source which determines whether item allows dragged item to be dropped |
allowEdit (default: 'allowEdit') | String | Specifies the name of a property in your data source which determines whether item is editable |
allowFocus (default: 'allowFocus') | String | Specifies the name of a property in your data source which determines whether item is allowed to receive the input focus |
autoCheck (default: 'autoCheck') | String | Specifies the name of a property in your data source which determines whether item's checkbox value is change when item is clicked |
checkBoxSettings (default: 'checkBoxSettings') | String | Specifies the name of a property in your data source which represents an object that holds the item's checkbox settings |
checked (default: 'checked') | String | Specifies the name of a property in your data source which represents the boolean value of the item's checkbox |
checkState (default: 'checkState') | String | Specifies the name of a property in your data source which represents the string value of the item's checkbox |
content (default: 'content') | String | Specifies the name of a property in your data source which represents a DOM element used as item content |
enabled (default: 'enabled') | String | Specifies the name of a property in your data source which determines whether item is enabled or disabled |
expanded (default: 'expanded') | String | Specifies the name of a property in your data source which represents the item state: expanded or collapsed |
hasChildren (default: 'hasChildren') | String | Specifies the name of a property in your data source which specifies whether item's will have or has children |
icon (default: 'icon') | String | Specifies the name of a property in your data source which represents a DOM element used as item icon |
id (default: 'id') | String | Specifies the name of a property in your data source which represents an unique identifier for an item |
items (default: 'items') | String | Specifies the name of a property in your data source which represents an unique identifier for an item |
pid (default: 'pid') | String | Specifies the name of a property in your data source which represents the list of child items |
statusIcon (default: 'statusIcon') | String | Specifies the name of a property in your data source which represents a DOM element used as item status icon |
style (default: 'style') | String | Specifies the name of a property in your data source which represents an object holding item style settings |
text (default: 'text') | String | Specifies the name of a property in your data source which represents an item label |
value (default: 'value') | String | Specifies the name of a property in your data source which represents an object holding custom item settings |
An object with field names from a custom data source.
This property is accessed through 'data-fields' or 'fields' attribute of TreeView directive.
Supported in: v1.0.
Learn how to bind an arbitrary data source to the TreeView for AngularJS. Bind data with custom names from local or remote data source to the TreeView directive.