DevExtreme v23.1 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.
Data Grid

Data Validation

Documentation

The DataGrid UI component supports data validation against a set of predefined or custom validation rules. These rules are generated based on Data Annotations that decorate the model properties (see the EmployeeValidation.cs file). For the validation to work, the DataGrid should be cast to the model type and its columns should be declared using the AddFor() method.

Thank you for your interest in our ASP.NET MVC product libraries and UI component suite. We are moving ASP.NET MVC-related demos and content to DevExpress.com. Please make sure to update your bookmarks with our new URL.

View Demo