# Change the Expand/Collapse Arrow in Master-Detail Grid

## Environment

<table>
	<tbody>
		<tr>
			<td>Product Version</td>
			<td>13.1.0</td>
		</tr>
		<tr>
			<td>Product</td>
			<td>Progress® KendoReact Grid</td>
		</tr>
	</tbody>
</table>

## Description

How can I customize the expand/collapse arrow icons in the Master-Detail Grid? I want to replace the default arrows with custom icons or components when displaying master-detail grids.

## Solution

Use the cells [`hierarchy`](https://www.telerik.com/kendo-react-ui/components/grid/api/gridcellssettings#hierarchy) property to provide custom rendering for the cells in the expand column. This allows you to replace the default expand/collapse arrows with your own custom icons or components.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/grid-change-expand-collapse-arrow/source.txt)

## See Also

* [Master-Detail Grid](https://www.telerik.com/kendo-react-ui/components/grid/hierarchy)
