Hi there,

I'm writing a simple itemRenderer that i want to use across multiple  
columns.
The itemRenderer will look at a property of the data object that it  
receives to tell what style should be applied to the <mx:Text> object  
that will display the data.
That part is easy.
But how do I set the "text" value of the <mx:Text> to whatever the  
value of that column is?
(does that make sense?)

For example, if the column I'm in has a dataField property of  
"email", I want the itemRenderer to display the value of email --  
without having to write data.email in the itemRenderer.


What we're really trying to do is to apply a style to the text of an  
entire row if one of the row's properties is true.
Thanks,
mark

Reply via email to