We have a XamGrid that is displaying data from a PagedCollectionView that allows filtering. We have had to subclass the XamGrid and add code to get this to work as we would like.
When the XamGrid is loaded with a filter set the total number of displayed items isn't set to the correct value even though the data is filtered correctly. I'm trying to trace through the events to track down the problem and have found that the "Filtering" event is fired before the "Loaded" event.
Ideally I would like a "Loading" event that gets fired when the load operation starts so I can set our code into the correct mode, but there isn't such an event.
What is the order of events that fire when a XamGrid is loaded?
We are using v11.2 on Silverlight 5.
Hello Chris,
Thank you for your post. I have been looking into it, but I cannot be completely sure how your application is organized and how did you do the Filtering, so could you please send an isolated sample project, where the issue is reproduced, and more information about the result you want to achieve, so I could be able to think of a possible solution for you.
Looking forward for your reply.
Generating an isolated sample might be tricky - it's quite a complicated area - but I'll try. It may be a while as I'm out of the office for a week or so so I won't be able to get onto it straight away. I am assuming that it's something we're doing wrong in our extensions to the the XamGrid, which is why I was asking for which events are fired and in what order so I can track down our mistake.
In the meantime, if you can provide the list of events that fire when the grid is loaded that might be enough to help us solve the problem anyway. Ideally we'd like a "Loading" event to be the first thing that fires but in the absence of that knowing what event fires before the "Filtering" will do.