I don’t know about the text rotation but listOwner is your reference to the DataGrid and if you add a column property I think you’ll be given a reference to the DataGridColumn.  setValue(str) will be called giving you the expected header text.

 

Matt

 


From: viraf_bankwalla [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 26,2005 9:20 AM
To: [email protected]
Subject: [flexcoders] Re: DataGridColumn.headerRenderer / rotating text in header

 


As a followup question, how can I pass context to the
headerRenderer, or how can the headerRenderer know about its
DataGridColumn

--- In [email protected], "viraf_bankwalla"
<[EMAIL PROTECTED]> wrote:
>
> Does someone have an example of the headerRenderer that they could
> share?  Does the headerRenderer need to implement the same methods
> as a cellRenderer - i.e. setValue?  Are there any properties
(beyond
> listOwner, getCellIndex, getDataLabel) that are set?
>
> I am trying to create a header in whichthe text is rotated. 
Rather
> than rotating each label, I though I would create a HBox that is
> rotated.  I suspect that the header is not being displayed as it
is
> being clipped.  How to I specify the point around which rotation
> occurs, and then adjust the coordinatesto compensate for the
> rotation ?
>
> An example would be great.  Thanks





Reply via email to