Properties:
Name | Type | Description |
---|---|---|
levelRole |
string | (default: |
dynamicContentProvider |
function | (default: |
statusRole |
string | (default: |
model |
core.ListModel | (default: null) The list model to work on. |
Extends
Methods
-
Sets the collapsion state of a tree node.
Name Type Description n
number The tree index of the node.
value
bool Whether the node shall be collapsed.
-
Converts a tree index to a list index of the underlying list model.
Name Type Description n
number The tree index.
Returns:
Type Description number - The list index.
-
Converts a list index of the underlying list model to a tree index. If the list item is currently not visible in the tree due to a collapsed ancestor,
-1
will be returned instead.Name Type Description n
number The list index.
Returns:
Type Description number - The tree index, or
-1
if the list item is not visible in the tree.
- The tree index, or