Share via


RetailReplenishmentTreeDatasource.buildSubTree Method [AX 2012]

Builds a sub tree of nodes in the tree control.

Syntax

public int buildSubTree(
    int _parentIdx, 
    anytype _parentValue, 
   [boolean _rebuild])

Run On

Client

Parameters

  • _parentIdx
    Type: int
    The index of the item in the tree for which to build the sub tree.
  • _parentValue
    Type: anytype
    The ID of the selected node.
  • _rebuild
    Type: boolean
    A Boolean value that indicates whether to rebuild the tree.

Return Value

Type: int
The index of the selected item in the tree.

See Also

Reference

RetailReplenishmentTreeDatasource Class