I'm not sure I understand the issue, but if you want the headers to word
wrap, they may need to be taller than the rows.  You can always
calculate the height of the grid based on 5 rows plus the header height.

 

-Alex

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava
Sent: Saturday, December 02, 2006 8:49 PM
To: [email protected]
Cc: Flex Coders
Subject: Re: [flexcomponents] Re: wrap header text in datagrid ?

 

Hi Pablo,
       i did headerWordWrap= "true" it is working, but the problem is
that I am creating my own datagrid component in which I specifying the
rowheight to be 6% of the total height, so that it resizes accordingly.
Now in this i need to keep the header height also same as rowheight or
else it shows a extra empty row at the end.

            // set the height
            myDataGrid.headerHeight = myDataGrid.rowHeight = int((height
* 6) / 100);
            myDataGrid.height =
myDataGrid.measureHeightOfItems(-1,rowCount);


- arpan

----- Original Message ----
From: Pablo Rangel <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, December 2, 2006 9:49:54 PM
Subject: [flexcomponents] Re: wrap header text in datagrid ?

Arpan,

Try using headerWordWrap= "true" instead of wordWrap="true" I just
tested it and it works for me. 

-pablo 

--- In flexcomponents@ yahoogroups. com
<mailto:flexcomponents%40yahoogroups.com> , arpan srivastava
<arpan30_cs@ ...> wrote:
>
> Hi ,
> I want to wrap header text in the datagrid. I did "wordWrap =
true;" but not working.
> 
> 
> 
> 
> 
>
____________ _________ _________ _________ _________ _________ _
> Need a quick answer? Get one in minutes from people who know.
> Ask your question on www.Answers. yahoo.com
>

 

 

________________________________

Any questions? Get answers on any topic at Yahoo! Answers
<http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMz
OTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx> . Try it now.

 

Reply via email to