Hi, guys.
I'm displaying some collection in grid which has two columns: name and type.
I'm grouping by type then. When I update type for my entity, PropertyChanges is raised by this entity, but the group is not changed for some reason. I've searched a lot through this forum and found out that you update groups only on CollectionChanged.
So, for updating the group I'm doing the following for each entity which was changed:
Initially I got the grid displayed on the first image;
After that I change Type for selected Items to Unknown and apply the code above to each entity.
You can see on the second image what I have after that
But when I change type of these items back to Country Region and run this code again for each entity, I got a bug which you can observe on a third image. As you can see - selection highlighting and Arrow in the row header are on different rows. Keyboard up/down navigation is broken.
Best regards,
Alexander Efimov.
I'm displaying some collection in grid which has two columns: name and type.
I'm grouping by type then. When I update type for my entity, PropertyChanges is raised by this entity, but the group is not changed for some reason. I've searched a lot through this forum and found out that you update groups only on CollectionChanged.
So, for updating the group I'm doing the following for each entity which was changed:
gridView.Items.EditItem(entity);
gridView.Items.CommitEdit();
Initially I got the grid displayed on the first image;
After that I change Type for selected Items to Unknown and apply the code above to each entity.
You can see on the second image what I have after that
But when I change type of these items back to Country Region and run this code again for each entity, I got a bug which you can observe on a third image. As you can see - selection highlighting and Arrow in the row header are on different rows. Keyboard up/down navigation is broken.
Best regards,
Alexander Efimov.