|121236||Nov 21,2015 12:04 AM UTC||Nov 24,2015 11:23 AM UTC||WPF||3|
You can validate the AddNewRow by handling RowValidating event of SfDataGrid. If you want to cancel the AddNew operation by validating, then you can use the below code to achieve your requirement,
this.dataGrid.RowValidating += dataGrid_RowValidating;
void dataGrid_RowValidating(object sender, RowValidatingEventArgs args)
//Code for cancelling AddNew operation by validating the args.RowData
var AddNewRowController = this.dataGrid.GetGridModel().AddNewRowController;
Refer the below KB, if you are using below 13.3 version to reflect and cancel AddNew operation.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
or the page will be automatically redirected to sign-in page in 10 seconds.