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 nnumber The tree index of the node.
valuebool Whether the node shall be collapsed.
-
Converts a tree index to a list index of the underlying list model.
Name Type Description nnumber 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,
-1will be returned instead.Name Type Description nnumber The list index.
Returns:
Type Description number - The tree index, or
-1if the list item is not visible in the tree.
- The tree index, or