Hello,
Here is my issue :
I have a grid with a group by default and i click on an item to select it :
When I remove the group the activecell is set to the first element of the list but the row underlying stay the good :
I didn't find the way to keep the good row active. The thing is that when i do the reverse, no group by default, a row selected :
And i apply a group, the row is still selected and active :
Is that a normal behavior ? And how can i keep the good row active in the first case ?
I post the solution.
Regards.
Fabien.
Hi,
You could add an event handler to GroupByCollectionChanged event and set the active cell on the desired row. I modified your sample to demonstrate how to do that. You can find it attached.
Hope this helps,
Thanks for the solution it works but I found a bug when more than one group is applied.
When I ungroup the last group applied everything's fine :
But when I ungroup one of the previous groups an exception occured with the message :
"A first chance exception of type 'System.NullReferenceException' occurred in InfragisticsSL4.Controls.Grids.XamGrid.v11.1"
Best Regards.
Fabien