# TreeCollapseCommand (@salmonui/data-grid/engine/tree)

> The TreeCollapseCommand type of @salmonui/data-grid/engine/tree.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-tree/TreeCollapseCommand

```ts
import type { TreeCollapseCommand } from '@salmonui/data-grid/engine/tree';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine-tree (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine-tree.md).

## Reference

Kind: type

```ts
type TreeCollapseCommand = {
    type: 'tree.collapse';
} & IdTarget;
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: "tree.collapse";` | inherited |  |
| `rowId` | `rowId?: string;` | optional, inherited |  |
| `rowIds` | `rowIds?: string[];` | optional, inherited |  |
