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
205
Display not matching the rank order in the bound collection list
posted

Hello,

I was wondering if the XamDataGrid has some sort of auto-sorting turned on by default. I have an observable collection of custom row objects bound to a XamDataGrid.DataSource. When I insert a new row object at the top of the collection by calling the observable collection's Insert() method, the grid re-sorts the list so that my empty row object appears at the bottom of the list. I checked the order of the observable collection and it is correct; however, the grid display no longer matches the order of items in the collection. Note: the order of items is displayed correctly upon initially binding to the XamDataGrid.

Thanks,

David

 

 

Parents Reply Children