# Spanning of Rows

The Grid provides a built-in row-spanning feature, which can be enabled by setting the [rowSpannable](https://www.telerik.com/kendo-react-ui/components/grid/api/gridprops#rowspannable)

The following example demonstrates basic row spanning using `rowSpannable`, where adjacent rows with equal field values are automatically merged into a single spanned cell.

[Demo Source](https://demos.telerik.com/kendo-react-ui/grid/rowspan/func/source.txt)

## Advanced Row Spanning

The Grid supports advanced row-spanning configuration, allowing you to provide a custom identifier to prevent unwanted row-spanning between different data items.

The following examples demonstrates how to generate unique identifier based on the `CustomerID` which prevents row-spanning of other columns between different customers.

[Demo Source](https://demos.telerik.com/kendo-react-ui/grid/rowspan/advanced/source.txt)

## Suggested Links

* [API Reference of the Grid](https://www.telerik.com/kendo-react-ui/components/grid/api/gridprops)
* [API Index of the Grid](https://www.telerik.com/kendo-react-ui/components/grid/api)
