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,
I have created a sample project for you where everything seems to work ok on my side and the ColumnLayoutAssigned event fires before the Loaded. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
I've just checked this out and the ColumnLayoutAssigned event is fired after the Loaded event so doesn't help me.
Sorry.
I've not been able to look at this issue for the last week or so, but I am looking at this issue again now.
If I have any further questions I'll update the thread.
Hello ChrisForman,
We are still following this forum thread.
Please feel free to let us know if you still have any questions or concerns with this matter.
I can say that the ColumnLayoutAssigned event is fired before the Loaded event, which fires lastly. Also I can say that the Filtering and Filtered events doesn’t fire if the action is done by code.
Hope this helps you.