I've tried to change groupings in the dataloaded event but I get an error message:
"Cannot change ObservableCollection during a CollectionChanged event."
1 Answer, 1 is accepted
0
Yavor Georgiev
Telerik team
answered on 07 Apr 2011, 05:13 AM
Hi Joshua,
DataLoaded fires after the grid loads the grouped data as well, so the exception here is a warning that you can enter an infinite loop. You just need to unsubscribe from the DataLoaded event at the end of your event handler so that the code inside will be executed only the first time the even fires.
Greetings,
Yavor Georgiev
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