What is the process for detecting and applying background color changes to the most recently added or edited row in a dx-data-grid for Angular TS if incorrect data is entered in a cell or if there are empty cells?
<dx-data-grid
[dataSource]="dataSource"
keyExpr="id"
(onRowInserted)="onRowInserted($event)"
(onRowUpdating)="onRowUpdating($event)"
(onRowInserting)="onRowInserting($event)"
(onRowUpdated)="onRowUpdated($event)">
<!-- Defined columns and other configurations -->
</dx-data-grid>
If the user enters incorrect or empty values during onRowUpdating and onRowInserting, they will not be able to exit editing mode and the background of that row will turn red.