# TreeList Column Events

This article explains the events available for the Columns of the Telerik TreeList for Blazor.

* [OnCellRender](https://www.telerik.com/blazor-ui/documentation/components/treelist/columns/events#oncellrender)

## OnCellRender

This event fires upon the rendering of the TreeLists columns. It receives an argument of type `TreeListCellRenderEventArgs` which exposes the following fields:

* `Item` - an object you can cast to your model class to obtain the current data item.
* `Value` - an object that contains the value that is rendered in the TreeList cell. You can cast it to its data type, for example to a `string`, `DateTime` or a number.
* `Class` - the CSS class that will be applied to the cells. The CSS rules that are set for that class will be visibly rendered on the TreeList cells.

> caption Use the OnCellRender event to apply custom format to TreeList cells based on certain value

<demo metaUrl="client/treelist/columns/events/example-1/" height="720"></demo>

## See Also

* [TreeList Overview](https://www.telerik.com/blazor-ui/documentation/components/treelist/overview)
* [TreeList Events](https://www.telerik.com/blazor-ui/documentation/components/treelist/events)
