Skip to content

This example demonstrates how to validate unchanged cells in the DataGrid component.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/devextreme-data-grid-validate-unchanged-cells

Repository files navigation

DataGrid for DevExtreme - How to Validate Unchanged Cells

This example demonstrates how to validate unchanged cells in the DataGrid component with a button click. To implement this functionality, define the validateVisibleRows function:

  1. Specify rows that need validation. To validate all rows, obtain visible rows and create an array of corresponding change objects. Assign the array to the changes property.

  2. Repaint the DataGrid.

  3. Use the private getController method to run validation.

DataGrid with validated unchanged cells

If you want to validate unchanged cells after DataGrid is loaded, call the validateVisibleRows function in the onContentReady event handler.

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)