Hello All (probably one for Alex H),
 I know I've seen this implemented before somewhere around the web, but I've 
search for awhile and can't find it.

I have a custom DataGrid that I've subclassed and do lots of trick 
functionality on it.  I pass it a search string, and only the rows that contain 
that search string are displayed.

Now, what I'd like to do is to customize the ItemRenderers so that the portion 
of text in any ItemRenderer that matches the search string is displayed in a 
different color and underlined.  

I know I've seen a demo of this somewhere?  Any ideas?  Or, any ideas how to 
implement?

My idea is to make a custom DataGridItemRenderer and set it at the DataGrid 
level so each of the columns will use it.  And then on the data property, loop 
through each of the items being displayed and then format accordingly.  
However, this seems inefficient, especially since I've already implemented some 
filterFunctions on the dataProvider...

Thanks for any suggestions.

Reply via email to