I have a DataGrid bound to an ObservableCollection via:
<igDP:XamDataGrid Name="Grid" DataSource="{Binding Path=GridData}" AutoFit="False" GroupByAreaLocation="None" Theme="[current]">
GridData is an observablecollection of a type that I use to populate the grid. However, when I add/remove/update from that collection, the grid does not update. Am I missing something obvious to get the grid to behave correctly with ObservableCollection?
Thanks!
I know this is an old topic, but it's very close to what I want to achieve.
Can you provide an example of how to do this in MVVM using commands with no code behind at all? We have a hard & fast rule about that. Also, is there a way to bind the add button that shows up by default to the add command?
HI,
I am just following up on this forum thread.
Please let me know if you need further assistance.
Sincerely, Matt Developer Support Engineer
Here is the sample.
Sincerely, Matt DSE
Did you forget to attach the sample or am I just blind? :)
HI elondon,
I am attaching a sample application that adds, removes and updates an ObservableCollection thats bound to a XamDataGrid.
Please review my sample..