# hideableColumns

Compatibility setting for column hiding. Keep it consistent with columnHiding.

Canonical: https://grid.syidax.com/docs/options/hideableColumns/

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

## What does this API do?

Compatibility setting for column hiding. Keep it consistent with columnHiding.

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

## Exact input and result types

```typescript
hideableColumns: boolean
```

| Item | Value |
| --- | --- |
| JavaScript name | hideableColumns |
| HTML attribute | hideable-columns |
| Default | false |
| Input type | boolean |

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

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the hideable-columns attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

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

## Feature explanations and examples

- [Column sizing and pinning](https://grid.syidax.com/docs/features/column-operations.md) — Width, order, pinning, and visibility are independent column states. Combine them to pin order IDs, hide supporting information, and widen long product names.
