AnsweredAssumed Answered

CancelEdit in OnRowChangeEvent not working

Question asked by mjk5000 on Jan 23, 2020
Latest reply on Feb 6, 2020 by sean_jones-esristaff

I am in the process of upgrading my users to the newest version of ArcGIS Pro 2.4.3 and testing my code.  It appears that CancelEdit is not performing as expecting in the OnRowChangeEvent?  It seems to work in OnRowDeleteEvent but not in OnRowChange?

 

else if (ConditionTrue) //rollback
                        {
                            //CANCEL the Redraw Change
                            args.CancelEdit(() => ChangeError("Changes Not Allowed!", "Parent Shape Cannot be changed"));
                        }

 

I also put in simply args.CancelEdit() and that failed too

Outcomes