Moves the targeted item in the tree to another position.
The data tree.
The level of the target tree item which will be moved.
number | null
The level of the destination tree item where the target item will be moved in. If it is null, the target item will be added at the root level.
The field which points to the subitems collection of each data item.
- The new data tree.