# Collapse Header Column in Grid

## Environment

<table>
	<tbody>
		<tr>
			<td>Product Version</td>
			<td>8.2.0</td>
		</tr>
		<tr>
			<td>Product</td>
			<td>Progress® KendoReact Grid</td>
		</tr>
	</tbody>
</table>

## Description

How can I collapse the columns inside the Grid header?

![Grid Collapse Header Columns](https://www.telerik.com/kendo-react-ui/components/assets/306aa72f7d55e325825536a3dc28d5d2/grid-collapse-header-columns.gif)

## Solution

This can be achieved by toggling a flag variable in the state that will determine whether or not the nested columns will render.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/collapse-header-column/source.txt)
