EcoResCategoryTreeDatasource.buildSubTree Method [AX 2012]
Builds the subtree nodes in the tree control.
Syntax
public int buildSubTree(
int _parentIdx,
anytype _parentVaue,
[boolean _rebuild])
Run On
Client
Parameters
- _parentIdx
Type: int
The index of the item in the tree for which to build the subtree.
- _parentVaue
Type: anytype
The category ID of the selected node.
- _rebuild
Type: boolean
A Boolean value that indicates whether to rebuild the tree from nothing.
Return Value
Type: int
The index of the currently selected item in the tree.