I have a business requirement to render on a map control the same data that is displayed in a GridView control. For example, if the grid is loaded with all of the companies locations in North America, display those locations on the map. That part is simple. Where I have a problem is if the user filters the grid to show only US locations, they want the map to show only those locations.
I can see that the RadGridView.Items class has a private property of CollectionView that contains the collection of the filtered items. if this collectionview were a read-only property I could just use if for my map object.
I would think that reusing the filtered data from a grid for other purposes would not be an entirely rare requirement.
Is there another way to do this that I am missing?
Thanks in advance for any assistance.
I can see that the RadGridView.Items class has a private property of CollectionView that contains the collection of the filtered items. if this collectionview were a read-only property I could just use if for my map object.
I would think that reusing the filtered data from a grid for other purposes would not be an entirely rare requirement.
Is there another way to do this that I am missing?
Thanks in advance for any assistance.