# Column Resizing

The [Angular TreeList](https://www.telerik.com/kendo-angular-ui/components/treelist) enables you to resize its columns by dragging the edges (resize handles) of the header cells.

## Getting Started

To enable column resizing, set the [`resizable`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#resizable) property to `true`.

> * By default, the column-resizing feature is disabled.
> * If the user resizes the TreeList columns so that the total width of the columns becomes less than the width of the TreeList, the remaining table is filled with whitespace.

The following example demonstrates how to resize columns in the TreeList.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/treelist/columns/resizing/source.txt)

## Limiting the Resizing

To restrict the minimum width of a column during resizing, set its [`minResizableWidth`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnbase#minresizablewidth) property.

The following example demonstrates how to restrict the minimum width of the "Name" column.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/treelist/columns/resizing/resizing-restrictions/source.txt)

## Auto-Fitting the Content

You can set the initial width of all TreeList columns so that it fits the width of their widest header or cell content by using the [`autoSize`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#autosize) TreeList option. You can also apply this behavior on a per-column basis by using the [`autoSize`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnbase#autosize) column option.

To auto-resize the columns of the TreeList at runtime, use the [`autoFitColumns`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#autofitcolumns) method.

The following example demonstrates how to automatically fit the content of the TreeList columns.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/treelist/columns/resizing/autofit-columns/source.txt)

## Suggested Links

* [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent)
* [`ColumnResizeArgs`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columnresizeargs)
* [API Reference of the `TreeListComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent)
* [API Index of the TreeList](https://www.telerik.com/kendo-angular-ui/components/treelist/api)
