Namespace: treeView

bcdui.component. treeView

This namespace contains the functions for expanding and collapsing tree nodes in the tree viewer.

Methods

staticbcdui.component.treeView.expandCollapse(rendererId, levelId, isExpand)

component/treeView/treeViewPackage.js, line 36
Expand or collapse a level for a treeView renderer
Name Type Description
rendererId string Id of the treeView's renderer
levelId string Which level to change
isExpand boolean True for expand, false for collapse

staticbcdui.component.treeView.expandCollapseAll(args)

component/treeView/treeViewPackage.js, line 59
This function expands or collapses all levels of a treeView. It relies on the @dimId and wrs:Data of the primary model of the renderer to calculate all levels and sets the guiStatus accordingly.
Name Type Description
args Object The argument map containing the following elements:
Name Type Description
rendererId string Id of the treeView's renderer
isExpand boolean True for expand, false for collapse