Hello,
I would like to know what events make the grid decide to update the groups and recalculate the aggregate values? Is there any way to force the grid to recalculate the groups and aggregate values?
In my app I have a grid that is bound to objects that implement INotifyPropertyChanged. If I have a group setup in the grid and I use the grid to edit the value that the grid is being grouped on, the row moves to the appropriate group when the values changes, which is good. However, I also have a form outside the grid that lets you edit the currently selected item. When I change a value in the form that the grid is grouping on, the row that was edited doesn't move to a new group. Any idea why this is happening?
What I need to be able to do is to use a form outside the grid to edit the grid's selected item and have the grid move the row to a new group if the value that's being group by has changed.
Some additional, potentially useful info:
My objects store Key/Value pairs that are accessible through an indexed property (i.e. myObject["FieldName"]
I setup by column bindings like this: DataMemberBinding = new Binding("[FieldName]")
Whenever a property on my object changes, I raise the PropertyChangedEvent with string.Empty for the property name
Thanks,
Joel
I would like to know what events make the grid decide to update the groups and recalculate the aggregate values? Is there any way to force the grid to recalculate the groups and aggregate values?
In my app I have a grid that is bound to objects that implement INotifyPropertyChanged. If I have a group setup in the grid and I use the grid to edit the value that the grid is being grouped on, the row moves to the appropriate group when the values changes, which is good. However, I also have a form outside the grid that lets you edit the currently selected item. When I change a value in the form that the grid is grouping on, the row that was edited doesn't move to a new group. Any idea why this is happening?
What I need to be able to do is to use a form outside the grid to edit the grid's selected item and have the grid move the row to a new group if the value that's being group by has changed.
Some additional, potentially useful info:
My objects store Key/Value pairs that are accessible through an indexed property (i.e. myObject["FieldName"]
I setup by column bindings like this: DataMemberBinding = new Binding("[FieldName]")
Whenever a property on my object changes, I raise the PropertyChangedEvent with string.Empty for the property name
Thanks,
Joel