In Data table: I have a scenario where validation has to be performed, if the mandatory cells of the selected row are empty and user clicks enter to save the record/update. Then a pop-up has to appear asking whether save the changes or discard the changes.
If user selects “save the changes” then user can go ahead for other rows. But when clicks on “Discard changes” then need to keep focus on the empty cell.
Please help me on implementing this logic.