---
name: "tvExpandAll"
type: command
status: ok
groups: ["GUI Control - Tree View"]
arma3_since: "0.74"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/tvExpandAll
revid: 330358
updated: 2022-09-03T09:09:58Z
---

# tvExpandAll

*Command · GUI Control - Tree View · Arma 3 v0.74*

Locality: arguments **local** · effect **local**

## Description

Expands all tree items for the given Tree View.

## Syntax

### Syntax 1

```sqf
tvExpandAll idc
```

**Parameters:**

- `idc`: [Number](../topics/Number.md)

**Returns:** [Nothing](../topics/Nothing.md)

### Syntax 2

```sqf
tvExpandAll control
```

**Parameters:**

- `control`: [Control](../topics/Control.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
tvExpandAll 101;
```

### Example 2

```sqf
tvExpandAll _ctrl;
```

## See also

[tvExpand](../commands/tvExpand.md) · [tvCollapse](../commands/tvCollapse.md) · [tvCollapseAll](../commands/tvCollapseAll.md)

<sub>Source: [BI Community Wiki — tvExpandAll](https://community.bistudio.com/wiki/tvExpandAll) (revision 330358).</sub>
