Interface: MetaTreeContext
Меньше 1 минуты
Interface: 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
elNums
Element number(numbers).
number
| number
[]
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
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
isFilterMode?
boolean
is tree will be forced to filter mode.
Returns
void