--- In flexcoders@yahoogroups.com, "Todd" <tpreka...@...> wrote: > > 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.
This should be handled by the ListCollection that you're using as a dataProvider. > 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? Maybe this is the demo you are thinking of: http://flexdiary.blogspot.com/2008/09/extended-datagrid-with-stylefunction.html