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
615
Paging using virtualcollection in an extended control of XamGrid (issues)
posted

Hello,

I've extended your grid in hopes of providing consistency for other developers.  In order to enable paging, I created a class to wrap and hopefully hide the use of the virtual collection from the end user.  I basically have them bind to a dependency property for their itemSource.  Then in the extended class I take that and use it to populate the virtualcollection which is assigned to the itemsSource of the grid.

This works well as long as the grid is bound to one collection.  In some cases we have a combobox that will change the datasource of the grid.  When this happens the virtualcollection seems to get a little messed up.  I've spent quite a lot of time trying to figure out what could be causing it and was hoping someone might be able to help me.

I have a sample application running that I can provide.

Thanks,

Scott