Interface: MetaTreeContext
Меньше 1 минуты
Interface: MetaTreeContext
Ui.MetaTreeContext
Context object for MetaTree UI component
Methods
clearSelection
▸ clearSelection(): void
Unselect tree nodes.
Returns
void
collapseAll
▸ collapseAll(): void
Collapse all tree nodes.
Returns
void
expandAll
▸ expandAll(): void
Expand all tree nodes.
Returns
void
selectEls
▸ selectEls(elNums
, forceExpand?
): void
Select element node inside tree by elNum.
Parameters
Name | Type | Description |
---|---|---|
elNums | number | number [] | Element number(numbers). |
forceExpand? | boolean | Expand nodes on path to selected element or not. |
Returns
void
setCheckboxSelection
▸ setCheckboxSelection(checkboxSelectionMode
): void
Enable or disable checkbox selection mode for tree nodes.
Parameters
Name | Type | Description |
---|---|---|
checkboxSelectionMode | boolean | checkbox selection mode flag. |
Returns
void
update
▸ update(): void
Update meta tree UI component.
Returns
void
updateFilter
▸ updateFilter(isFilterMode?
): void
Force meta tree filter action.
Parameters
Name | Type | Description |
---|---|---|
isFilterMode? | boolean | is tree will be forced to filter mode. |
Returns
void