I have two level object related hierarchy grid.
Child object field depends on Parent object field.
When changing a value in parent object it does not update children rows.
But it updates parent row itself. We can see it on C field which depends on that value too.
I believe this is a bug in with the AutoGenerateHierarchy, at first i thought that it is related to the fact that you were using normal lists, but I've adapted your example with both bindinglists + INotifyPropertyChanged + Invalidate all child rows on parent row changed. Although if you take a look on the row's data bound item you will see that the values have been updated, these changes are not applied in the cells.
if it does not work with AutoGenerateHierarchy mode
could you help with convert this sample to manual hierarchy bind ?
Is it the only way that this is be done by using GridViewRelation?
If yes then I really don't know what should to set on ParentColumnNames and ChildColumnNames properties.
answered on 05 Apr 2011, 12:15 PM
In object-relational hierarchy mode RadGridView does not observe changes in the inner IList/IBindingList properties and can not refresh itself automatically after a change in some of the related parent values.
The reason for the luck of this functionality regards performance and memory consumption concerns
which arise if we should handle all changes in every inner IBindingList implementation. In this scenario you should manually refresh the inner GridViewTemplate using the following solution:
I hope this helps.
All the best,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items