I'm trying to implement something similar to the "Search as You Type" demo (http://demos.telerik.com/silverlight/#GridView/Search) but instead of filtering the data to show only the rows that match the user's input, I want to find the first row that contains the user's input for a particular column and just highlight the row. So all of the data on the current grid page is still there but the row matching the input would be highlighted.
Everything is fine if the matching row exists in the current UI container but if the user is searching for something that is not currently displayed, then what is the best way to get the actual cell contents of those rows? For example, my grid is defined to display 50 rows per page but the current display container shows the first 20 rows. I know that I can use ContainerFromItem to get the row information for a specified item but it will only return something if it exists in the current UI collection. I also know that I can loop thru the current grid Items collection and will be able to see all of the rows for the current page. But using this method does not get me the data that is actually displayed - it returns the data for the underlying data source, which doesn't always contain what is displayed (for example, gender may be stored as M or F in the data source but will display as Male or Female and I want to be able to search on the actual display contents).
I'm looking for suggestions on how to best achieve this without impacting performance too much.
Thanks
Everything is fine if the matching row exists in the current UI container but if the user is searching for something that is not currently displayed, then what is the best way to get the actual cell contents of those rows? For example, my grid is defined to display 50 rows per page but the current display container shows the first 20 rows. I know that I can use ContainerFromItem to get the row information for a specified item but it will only return something if it exists in the current UI collection. I also know that I can loop thru the current grid Items collection and will be able to see all of the rows for the current page. But using this method does not get me the data that is actually displayed - it returns the data for the underlying data source, which doesn't always contain what is displayed (for example, gender may be stored as M or F in the data source but will display as Male or Female and I want to be able to search on the actual display contents).
I'm looking for suggestions on how to best achieve this without impacting performance too much.
Thanks