Hi Telerik supportteam,
I’ve found something interesting around filtering combined with a CustomGroupComparer on a RadGridView. To illustrate the situation I added a small example application.
Situation:
Start the application, create a groupBy on e.g. TwoStateCheckbox column, expand some of the groups.
Now, filter on e.g. Name (contains ‘7’).
Result:
All the groups get collapsed.
My own analyses:
With a breakpoint on rule 21 in the CustomGroupComparer, I see that dataGroup.IsExpanded is false, even when the group in the grid is expanded.
With a custom group comparer, Telerik does something with a groupBuilder. It suggests that groups are cloned? If that’s the case I guess the IsExpanded property is not set correctly. Sounds like a bug to me. Can you confirm this and how can I work around this??
By the way: without a customGroupComparer it works ok but we need the custom thing.
Regard,
Daniel Kaya