# Data Validation Editing in KendoReact Grid

The Grid component allows you to validate the data being edited. In order to achieve this, render custom editor components using the Grid [`cells.edit`](https://www.telerik.com/kendo-react-ui-develop/components/grid/api/gridcellssettings#edit) property and this allows you to show an error message when the chosen data does not match your defined validation conditions.

<CtaPanelOverview></CtaPanelOverview>

The below demo demonstrates a possible approach that can be used to validate Grid's data. The [`onItemChange`](https://www.telerik.com/kendo-react-ui-develop/components/grid/api/gridprops#onitemchange) event handler which fires on every onChange of the `еdit` cell gets the data being edited and validates it. In addition, the `enterInsert` function checks the validity of the data added by the user.

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

## Suggested Links

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