I would like to use grouping, with an ObservableCollection, in the WPF DataGrid.
Unfortunately, adding the GroupStyle causes virtualization to be lost.
What I can do, which I believe would help quite a bit, is to add the GroupStyle programmatically when grouping is requested, then remove the GroupStyle when the list is un-grouped.
I found out though that removing the GroupStyle doesn't re-enable virtualization.
Can someone tell me how to re-enable virtualization?
Thank you very much!
View Complete Post