# Layout Containers

The Kendo UI TileLayout widget tiles are configured by using an array of container objects.

## Dimensions

Each tile can span across several rows and columns. The space that the tile takes up is determined by its container [`rowSpan`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/tilelayout/configuration/containers#containersrowspan) and [`colSpan`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/tilelayout/configuration/containers#containerscolspan).

## Headers

The tiles can be configured with our without headers.

> Headers are required if using the `reorderable` functionality of the widget.

The headers render their content via the [`header.text`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/tilelayout/configuration/containers/header#containersheadertext) which is plain text or by utilizing a [`header.template`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/tilelayout/configuration/containers/header#containersheadertemplate).

## Body content

The main tile content is rendered from the [`bodyTemplate`](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/tilelayout/configuration/containers#containersbodytemplate) that can also be plain text or a complex template with widgets in it.

## Container Styles

The TileLayout exposes an object that allows you to override the following styles:

```
    var tileLayoutStyles = {
        wrapper: "k-widget k-tilelayout",
        item: "k-tilelayout-item k-card",
        itemHeader: "k-tilelayout-item-header k-card-header",
        itemHeaderTitle: "k-card-title",
        itemBody: "k-tilelayout-item-body k-card-body",
        reorderHint: "k-layout-item-hint k-layout-item-hint-reorder",
        resizeHint: "k-layout-item-hint k-layout-item-hint-resize"
    };
```

To override any of the classes, add your own or remove some, insert the new definition before the widget is initialized:

```
    kendo.ui.TileLayout.styles.item = "k-tilelayout-item k-card my-own-class";
```

## See Also

* [Overview of the TileLayout (Demo)](https://demos.telerik.com/kendo-ui/tilelayout/index)
* [JavaScript API Reference of the TileLayout](https://www.telerik.com/kendo-jquery-ui/documentation/api/ui/tilelayout)
* [Resizing](https://www.telerik.com/kendo-jquery-ui/documentation/controls/tilelayout/resizing)
* [Reordering](https://www.telerik.com/kendo-jquery-ui/documentation/controls/tilelayout/reordering)
