# columnGroupShow

Chooses whether the column appears when its parent group is expanded or collapsed.

Canonical: https://grid.syidax.com/docs/columns/columnGroupShow/

<a id="meaning"></a>

## What does this API do?

Chooses whether the column appears when its parent group is expanded or collapsed.

<a id="contract"></a>

## Exact input and result types

```typescript
columnGroupShow?: 'open' | 'closed'
```

| Item | Value |
| --- | --- |
| Required | Optional |
| Input type | 'open' \| 'closed' |

<a id="usage"></a>

## Usage flow

Set this on an individual column object in columnDefs. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Multi-level headers](https://grid.syidax.com/docs/features/column-groups.md) — Multi-level headers place related columns under a shared heading. Unlike row grouping, they do not change data counts or aggregate values.
