Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Moves and adds the node to the specified new parent.
Syntax
public int moveItem(
int idxToMove,
int newParentIdx,
int newSiblingIdx)
Run On
Client
Parameters
- idxToMove
Type: int
The ID of a node to be moved.
- newParentIdx
Type: int
The ID of the new parent.
- newSiblingIdx
Type: int
The sibling ID of the selected node.
Return Value
Type: int
The new ID value.
Exceptions
Exception | Condition |
---|---|
Warning | Thrown when the item cannot be moved to the new parent. |