When new row added in DataGrid wheter empty or wrong data it’s kept added.
How can I test if causes exception in order to remove it ?
- I’m using MVVM and PRISM
- The DataGrid is bound to an
ObservableCollection<Humain>EDIT : here are pics
pic1 : Default empty row is double clicked.
pic2 : Data insertion is canceled by click anywhere else.


Well, since you don’t have any code to show us what your Rows look like, or how you are editing them, this general answer is the best I can do: