Can one of you supply a test case with local data?  The renderer looks
ok  from here.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Giles Roadnight
Sent: Thursday, September 13, 2007 5:17 AM
To: [email protected]
Subject: Re: [flexcoders] Re: PrintDataGrid and the last row problem

 

I'v ehad this problem too with a simple DG with no custom renderers.

The last line is always cut in half.

Very annoying. I gave up in the end and went onto something else.

Let us know if you find a solution. 

Giles.

On 9/13/07, mitek17 <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >
wrote:

Hi Alex,

And how to tell the correct size?

Should I explicitly set the height?

Here is one my my itemRenderers:

<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml
<http://www.adobe.com/2006/mxml> "
verticalScrollPolicy="off" 
horizontalScrollPolicy="off"
width="100%" 
height="100%">
<mx:Label 
id="cellLabel"
x="0" y="0" 
width="100%" 
height="100%"
textAlign="left"
text="{data.hasOwnProperty('m_sDescShort')?data.m_sDescShort:data.m_sDes
c}"
paddingRight="10" 
paddingLeft="10"/>
</mx:VBox>

Thanks!

Dmitri.

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The Tree issue turned out to be in code the DG wouldn't run into.
Makes
> me think your custom renderes are misreporting their sizes.
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto: [email protected]
<mailto:flexcoders%40yahoogroups.com> ] On
> Behalf Of mitek17
> Sent: Wednesday, September 12, 2007 2:08 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Re: PrintDataGrid and the last row problem
> 
> 
> 
> Hi Alex,
> 
> There are 5 columns in the grid, 3 of which have custom itemRenderers.
> Flex 2.0.1 SDK Hotfix 1
> 
> Thanks!
> 
> Regards,
> Dmitri.
> 
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com>  <mailto: flexcoders%
<mailto:flexcoders%25> 40yahoogroups.com <http://40yahoogroups.com> >
> , "Alex Harui" <aharui@> wrote:
> >
> > Custom renderer or default renderers? Which version of Flex? I'm
> > investigating a similar report against Tree today.
> >
>

 

 

Reply via email to