# ColumnCreating

The **RadGantt ColumnCreating** is fired when a [TreeList](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/layout) column is about to be created.

**ColumnCreating** event handler receives two parameters:

* **sender** is the **RadGantt** control instance.

* **e** is an object of type **ColumnCreatingEventArgs**. It gives you access to the [TreeList](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/layout) column.

## Example

```ASP.NET
<telerik:RadGantt RenderMode="Lightweight" ID="RadGantt1" runat="server" OnColumnCreating="RadGantt1_ColumnCreating"></telerik:RadGantt>
```

```C#
protected void RadGantt1_ColumnCreating(object sender, Telerik.Web.UI.Gantt.ColumnCreatingEventArgs e)
{
    if (e.Column.HeaderText == "ID") {
        e.Column.AllowSorting = false;
    }
}
```

```VB.NET
Protected Sub RadGantt1_ColumnCreating(sender As Object, e As Gantt.ColumnCreatingEventArgs)
    For Each item As var In e.Tasks
        item.Title = "Modified Title"
    Next
End Sub
```

## See Also

* [Server Side Events](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/server-side-programming/events/overview)
