thanks for responding.  I am not sure exactly how to modify those
classes.  DataGridItemRenderer does not have a measure() method. 
Should I create a similar class DataGridItemRendererCustom and have it
extend TextArea instead of UITextField?  Can you tell me what exactly
I would need to modify?

Thanks so much for the help.

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Look at the ListItemRenderer.as or DataGridItemRenderer.as, specifically
> the "measure()" method.  You will need to do that in your renderer.
> 
>  
> 
> In fact, I might advise starting with that code for any renderer, and
> modifying it as needed.
> 
>  
> 
> Tracy
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of mt1_18
> Sent: Monday, March 03, 2008 10:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] variable row height with item renderer
> 
>  
> 
> I am using a textArea item renderer because I need to change the
> background color of the cell. However, the text in the textArea is
> more than the height of the row and I am getting scrollbars on the
> textArea component even though i am using variableRowHeight=true. 
> When I remove the item renderer the row height changes so that there
> is no scrollbar in the cell. How can I have the entire contents of
> the cell be displayed w/o scrollbars and at the same time change the
> background color of the cell. I hope the question is clear
> 
> Thanks
>


Reply via email to