InventorySample icon indicating copy to clipboard operation
InventorySample copied to clipboard

Grouping

Open JuandreG opened this issue 4 years ago • 0 comments

How would I add grouping to the DataList and DataGrid controls?

I do add a CollectionViewSource to both controls, group the data in the ViewModel and point the CollectionViewSource's source property to the new grouped IEnumerable. It works but the DataGrid and DataList's OnCollectionChanged event never gets fired again. So the problem is that the VirtualCollection never gets updated with new items when you scroll down. It only has the 16 and no more.

Please help.

JuandreG avatar Mar 08 '21 12:03 JuandreG