Parameter | Description |
---|---|
index | The item index. |
collapseAllChildren | Whether the whole hierarchy under that item will be collapsed. |
Collapses the item with the specified index, hiding its children. Allows to collapse the whole hierarchy under that item.