You can’t have both renderers applied separately so you’ll probably need to create a 3rd renderer that combines the functionality (perhaps create a subclass of one of them and add the functionality from the other).

 

Matt

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sanjayd
Sent: Thursday, July 21, 2005 1:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] calling multiple 'cellRenderer's for the same DataGridColumn ?

 

Hi.

I have 2 cellRenderers:

CurrencyCellRenderer to format a number to include '$' and commas etc.
ColorRenderer to color a cell.

I wanted to call both these renderers for a DataGridColumn.
Is there a starightforward way to do it ?

Thanks in advance.

Sanjay






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to