# Using fitColumns method to change the width of a column to fit its content

## Environment

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

## Description

I want to change the width of the columns to fit the content.

## Solution

The Grid's API has fitColumns method that will change the width of a given column to fit its content.

Following is an example demonstrating this approach:

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/using-fitColumns-method/source.txt)
