LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


dataFields

Specifies an object that map the fields names from data source to the ones used by the TreeView.

Parameters

VariableTypeDetails
allowDrag (default: 'allowDrag')StringSpecifies the name of a property in your data source which determines whether item is allowed to be dragged
allowDrop (default: 'allowDrop')StringSpecifies the name of a property in your data source which determines whether item allows dragged item to be dropped
allowEdit (default: 'allowEdit')StringSpecifies the name of a property in your data source which determines whether item is editable
allowFocus (default: 'allowFocus')StringSpecifies the name of a property in your data source which determines whether item is allowed to receive the input focus
autoCheck (default: 'autoCheck')StringSpecifies 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')StringSpecifies the name of a property in your data source which represents an object that holds the item's checkbox settings
checked (default: 'checked')StringSpecifies the name of a property in your data source which represents the boolean value of the item's checkbox
checkState (default: 'checkState')StringSpecifies the name of a property in your data source which represents the string value of the item's checkbox
content (default: 'content')StringSpecifies the name of a property in your data source which represents a DOM element used as item content
enabled (default: 'enabled')StringSpecifies the name of a property in your data source which determines whether item is enabled or disabled
expanded (default: 'expanded')StringSpecifies the name of a property in your data source which represents the item state: expanded or collapsed
hasChildren (default: 'hasChildren')StringSpecifies the name of a property in your data source which specifies whether item's will have or has children
icon (default: 'icon')StringSpecifies the name of a property in your data source which represents a DOM element used as item icon
id (default: 'id')StringSpecifies the name of a property in your data source which represents an unique identifier for an item
items (default: 'items')StringSpecifies the name of a property in your data source which represents an unique identifier for an item
pid (default: 'pid')StringSpecifies the name of a property in your data source which represents the list of child items
statusIcon (default: 'statusIcon')StringSpecifies the name of a property in your data source which represents a DOM element used as item status icon
style (default: 'style')StringSpecifies the name of a property in your data source which represents an object holding item style settings
text (default: 'text')StringSpecifies the name of a property in your data source which represents an item label
value (default: 'value')StringSpecifies the name of a property in your data source which represents an object holding custom item settings

Property Value

An object with field names from a custom data source.

Remarks

This property is accessed through 'data-fields' or 'fields' attribute of TreeView directive.

Version Information

Supported in: v1.0.

Articles & Samples

See Also