I have written code on SelectedCellsChanged that highlights the rows corresponding to cells selected. When I select few cells in wpf data grid it selects corresponding rows. But When I scroll down/up, it automatically selects some random rows every time. But when I set EnableRowVirtualization to false in data grid it works properly. I can not keep virtualization set to false as data is huge it and impacts performance of the grid. So I need both of them working together. Please provide some solution for this issue I need it urgently.
↧