Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1675
Switch dataset by recycling the cells
posted

Hi,

I have two data sets that i want to quickly switch back and forth on the grid. Both the datasets are type observablecollection and the column order, style are the same, so i want to recycle the cells, at present when i switch between the two ItemSources I see that all the cells are re-created and this takes up a few seconds. As the user of my app would do this multiple times in a day the slight pause looks very annoying to them.

Is there a way or a property that I can use so the grid could recycle the cells instead of creating all cells from scratch when the underlying source is switched?

Thanks,

Rohit