[ACCEPTED]-WPF datagrid allow user to add rows?-mvvm
Found the problem. My constructor in the 3 object that's part of my ObservableCollection 2 wasn't declared public.
Thanks 1 for your time.
Make sure your objects in the ObeservableCollection 1 have a default parameterless constructor.
The new blank row will depend if the collection 5 you are binding implements IEditableCollectionView. see 4 here. That being said i have found that sometimes 3 it works well and other times unexplainably 2 it seems not to, but the IEditableCollectionView 1 is a start
More Related questions