Hi,
I'm experiencing a weird issue with grouping in the grid. The grid is bound to a QueryableCollectionView for which I programatically set one GroupDescriptor and one SortDescriptor. The problem is that, when the view is loaded (it's a UserControl) sometimes neither the grouping nor the sorting are applied.
The order in code (if it matters) is:
1. Set the Items property (to which the grid is bound) to a QueryableCollectionView, which raises a PropertyChanged event.
2. Add a GroupDescriptor to the QueryableCollectionView
3. Add a SortDescriptor to the QueryableCollectionView
I also tried raising PropertyChanged after the steps, the same random behavior of it not working persists.
Any idea what I'm doing wrong?