I do have a listOwner as described in the documents. There are multiple columns in the grid. Are you suggesting that I add a column variable to my HeaderRenderer class ?
I have noticed that setValue(str:Object, item:Object sel:String) does not appear to be called in my header renderer, however is called in the cellRenderer. --- In [email protected], Matt Chotin <[EMAIL PROTECTED]> wrote: > 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 which the 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 coordinates to compensate for the > > rotation ? > > > > An example would be great. Thanks > > > > > > > > > Yahoo! Groups Sponsor > > > > ADVERTISEMENT > > <http://us.ard.yahoo.com/SIG=129oqi8rt/M=298184.6018725.7038619.30011 76/D=gr > oups/S=1705007207:HM/EXP=1109524833/A=2593423/R=0/SIG=11el9gslf/*http :/www.n > etflix.com/Default?mqso=60190075> click here > > > > <http://us.adserver.yahoo.com/l? M=298184.6018725.7038619.3001176/D=groups/S= > :HM/A=2593423/rand=728828270> > > > > _____ > > Yahoo! Groups Links > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/flexcoders/ > <http://groups.yahoo.com/group/flexcoders/> > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] subject=Unsubscribe> > > * Your use of Yahoo! Groups is subject to the Yahoo! > <http://docs.yahoo.com/info/terms/> Terms of Service.

