# Column Reordering

The [Kendo UI for Angular Grid](https://www.telerik.com/kendo-angular-ui-develop/components/grid) enables you to reorder its columns in two ways: by dragging the header cells or by implementing [manual reordering](https://www.telerik.com/kendo-angular-ui-develop/components/grid/columns/reordering#manual-reordering) on user interaction.

To enable column reordering, set the [`reorderable`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/gridcomponent#reorderable) property of the Kendo UI Grid for Angular to `true`.

> By default, the column-reordering feature is disabled.

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

## Disabling Reordering for Specific Columns

To disable reordering for an individual column, set its [`reorderable`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/columncomponent#reorderable) property to `false`.

```html
<kendo-grid [data]="data" [reorderable]="true">
    <kendo-grid-column field="ProductID" title="Product ID" [reorderable]="false"></kendo-grid-column>
    <kendo-grid-column field="ProductName" title="Product Name"></kendo-grid-column>
</kendo-grid>
```

## Manual Reordering

You can enable users to reorder a Grid column on a button click or on another user interaction. To achieve this, use the [`reorderColumn`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/gridcomponent#reordercolumn) method. The method can reorder only columns that are visible in the Grid.

To reorder a column, provide the following arguments to the method:

* The column that needs to be reordered.
* The new column index.
* A boolean flag that indicates whether the reordered column will be positioned before or after the destination index.

```ts
public onClick(grid: GridComponent, column:ColumnBase) {
    grid.reorderColumn(column, 0, { before: true });
}
```

The following example demonstrates how to reorder the last column on a button click and make it first.

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

## Suggested Links

* [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/columncomponent)
* [API Reference of the `GridComponent`](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api/gridcomponent)
* [API Index of the Grid](https://www.telerik.com/kendo-angular-ui-develop/components/grid/api)
