This example demonstrates how to validate unchanged cells in the DataGrid component with a button click. To implement this functionality, define the validateVisibleRows
function:
-
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.
-
Repaint the DataGrid.
-
Use the private
getController
method to run validation.
If you want to validate unchanged cells after DataGrid is loaded, call the validateVisibleRows
function in the onContentReady event handler.
- jQuery
- Angular
- Vue
- React
- NetCore
(you will be redirected to DevExpress.com to submit your response)