[flexcoders] calling multiple 'cellRenderer's for the same DataGridColumn ?

2005-07-21 Thread sanjayd
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] calling multiple 'cellRenderer's for the same DataGridColumn ?

2005-07-21 Thread Matt Chotin










You cant have both renderers
applied separately so youll 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



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.