The basic situation is that I have a grid with 10k to 50k. Each of these rows has at least 4 columns that are being updated on a continous basis. In the profiler this is causing a huge performance hit, and I have narrowed it down to updating the visuals ( WPF ). What I would like to do is wait to update those rows that are not visible. To do that I need to know when a row is visible. For example if there was an event like OnRowVisible , then I could mark each RowViewModel with a flag .
Suggestions helpful
additional clarification: I have some of my own logic which process updates for each row. Ideally I do not want to do that processing untill that row becomes in view.
Hello Howard,
Thank you for your post. I have been looking into it and I can suggest you use the XamDataGrid’s RecordsInVirewChanged event. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
You can use the XamDataGrid's GetRecordsInView method, which returns an array of Records that are currently in view.
Hope this helps you.
This is close to what am looking for. Not only do I want to know that the rows in viewable part of the grid have changed, But Which rows are now viewable. If there an addition function I need to call? I did not see anything like it in
RecordsInViewChangedEventArgs...
Thanks
Howard