# Customizing Expand/Collapse Icons for Detail Rows in KendoReact Grid

## Environment

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

## Description

I want to customize the expand/collapse icons for the Detail Rows in the [KendoReact Grid](https://www.telerik.com/kendo-react-ui/components/grid). I want to replace the default icons with custom ones.

## Solution

To achieve the desired behavior you can use the `IconsContext.Provider` to provide custom icons for the plusIcon and the minusIcon.

> As an alternative approach, you can use the [cells.hierarchy](https://www.telerik.com/kendo-react-ui/components/grid/cells/hierarchy-cells) property to render Custom Hierarchy Cells. This approach gives you full control over the rendering of the cells.

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

## See Also

* [KendoReact Grid Overview](https://www.telerik.com/kendo-react-ui/components/grid)
* [Hierarchy Cells Documentation](https://www.telerik.com/kendo-react-ui/components/grid/cells/hierarchy-cells)
* [Grid Properties API Reference](https://www.telerik.com/kendo-react-ui/components/grid/api/gridprops)
