# Show details info from data item in Popover on button click

## Environment

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

## Description

I want to add command button for each row to show additional information from the data item.

## Solution

For achieving the desired result, the dataItem for which the button is clicked must be passed to a state variable, so it can then be accessible within the Popover template. React Context is used for passing reference to the function showing the Popover to the command button.

This is an example showcasing this approach:

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/grid-show-details-in-popover/source.txt)
