I'm using the WPF Toolkit's DataGrid to display a set of search results. As per then scenario in my other question I want to be able to pre-fetch secondary results for each of my viewable (that is, within the visible scroll area) rows in the datagrid.
I want to be able to:
- Query "viewable" rows
- Raise an event when rows become visible (via vertical scrolling)
NOTE: Possible duplicate? [But without validated answer/outcome] - Anyone have any links/code samples to achieve this?
I have looked at this previously and have not found a solution.
You are talking about data virtualization, while i havent found a way to do it with the wpf datagrid it is readily available with the xceed grid pro version(built in), here is another solution that you could build on, using their implementation you could build a model that knows which rows have been loaded/requested and work from there.