# Angular TreeList Styling Columns

The [Angular TreeList](https://www.telerik.com/kendo-angular-ui/components/treelist) enables you to customize the appearance of the different column parts and change their default layout.

To apply custom styling to the columns of the TreeList, you can customize these parts:

<Row>
  <Column count={[24,24,8]} style={{marginBottom: "1rem"}}>
    <Component className="tile" href="#customizing-column-header">
      <ComponentTitle>Headers</ComponentTitle>
      <ComponentDescription style={{padding: "0 10px 10px 10px"}}>Customize column header appearance using headerClass and headerStyle properties.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,8]} style={{marginBottom: "1rem"}}>
    <Component className="tile" href="#customizing-column-footer">
      <ComponentTitle>Footers</ComponentTitle>
      <ComponentDescription style={{padding: "0 10px 10px 10px"}}>Style column footers with custom CSS classes and inline styles using footerClass and footerStyle.</ComponentDescription>
    </Component>
  </Column>
  <Column count={[24,24,8]} style={{marginBottom: "1rem"}}>
    <Component className="tile" href="#customizing-column-cells">
      <ComponentTitle>Cells</ComponentTitle>
      <ComponentDescription style={{padding: "0 10px 10px 10px"}}>Apply custom styling to column cells using class and style properties for targeted appearance.</ComponentDescription>
    </Component>
  </Column>
</Row>

## Customizing Column Header

You can add a custom CSS class or style to a column header by using the following [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent) options:

* [`headerClass`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#headerclass)—Specifies the class to be added to the header cell.
* [`headerStyle`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#headerstyle)—Specifies the styles to be added to the header cell.

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

## Customizing Column Footer

You can set custom styles or add CSS classes to a column footer by using the following `ColumnComponent` options:

* [`footerClass`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#footerclass)—Specifies the class to be added to the footer cell.
* [`footerStyle`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#footerstyle)—Specifies the styles to be added to the footer cell.

The following example demonstrates how to customize the footer appearance by using the `footerClass` and `footerStyle` properties.

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

## Customizing Column Cells

You can add a custom CSS class or style to column cells by using the following `ColumnComponent` options:

* [`class`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#class)—Specifies the class to be added to the cell.
* [`style`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent#style)—Specifies the styles to be added to the cell.

> Setting the `class` and `style` properties of the [`ColumnGroupComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columngroupcomponent) will not have any effect. Instead, set the `class` and `style` properties of the respective [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent) nested inside the `ColumnGroupComponent`.

The following example demonstrates how to customize the column cells by using the `class` and `style` properties.

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

## Suggested Links

* [`ColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/columncomponent)
* [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)
* [Creating Custom Styles with ThemeBuilder](https://www.telerik.com/kendo-angular-ui/components/styling/theme-builder)
