Posted 12 September 2025, 5:16 am EST
Hi Attila,
As per our understanding of your requirement, whenever the user edits the new row and tries to commit it, but the row contains an invalid value in one of the columns, you want to alert the user that the value is invalid and prevent them from adding this row until the invalid value is fixed.
The best approach for this is to handle the RowEditEnding event of the FlexGrid, and cancel the edit if a value is invalid.
Please refer to the updated sample project, where leaving the FirstName column empty for the new row triggers an alert and prevents the new row from being added. After the user clicks OK on the alert, they can either enter a valid value for the FirstName column or press the Escape key to cancel the new row entirely.
Attachment: AddDeleteConfirmation_Updated.zip
Best Regards,
Kartik