That did the trick. Still some minor issues when sorting columns (the arrow ends up messing up the alignment of the header text), but this gets me most of the way there.
thanks --- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote: > > Like this: > > public function HeaderRenderer() { > height = 34; > } > > -TH > > --- In [email protected], "Tim Hoff" <TimHoff@> wrote: > > > > Even though you set headerWordWrap to true, when a headerRenderer > is > > used those properties are repaced when the renderer is created. > > Keep in mind, the default item renderer is a Text field. In the > > HeaderRenderer AS, change the Height (maybe to 40) and the header > > text should wrap. You might also have to deal with the header > text > > alignment. > > > > -TH > > > > --- In [email protected], "djbrown_rotonews" > > <djbrown_rotonews@> wrote: > > > > > > > > > That did the trick, nearly. My header text, that used to span > > > two "rows", now only has the first "row" displayed and omits the > > > remainder of the header. I have headerWordWrap set to true, but > > > there must be something else I have to do. any help? > > > > > > --- In [email protected], "Tim Hoff" <TimHoff@> wrote: > > > > > > > > > > > > DJ, > > > > > > > > I included a hack for this in the following example. Since > the > > > column's > > > > headeRenderer is a dataGridItemRenderer (TextField), it has a > > > toolTip > > > > property. The headerText is set before the itemRenderer is > > > created, so > > > > you can compare to data.text to identify the column. > > > > > > > > http://www.cflex.net/showfiledetails.cfm? > > > ChannelID=1&Object=File&objectI\ > > > > D=443 > > > > <http://www.cflex.net/showfiledetails.cfm? > > > ChannelID=1&Object=File&object\ > > > > ID=443> > > > > > > > > -TH > > > > > > > > --- In [email protected], "djbrown_rotonews" > > > > <djbrown_rotonews@> wrote: > > > > > > > > > > I've seen references to using the setValue() function of the > > > custom > > > > > renderer to gain access to the header itself and putting the > > > toolTip > > > > > code in there, but it doesn't look like setValue is called > any > > > > > longer using Beta3. any ideas/suggestions? > > > > > > > > > > > > > > > --- In [email protected], "djbrown_rotonews" > > > > > djbrown_rotonews@ wrote: > > > > > > > > > > > > > > > > > > I'm discovered that I need to implement my own > > headerRenderer > > > as > > > > > part > > > > > > of each DataGridColumn, but how do I go about accessing > what > > > > > column > > > > > > I'm currently looking at. I'm wanting to add a generic > > > > > headerRenderer > > > > > > for all 22 columns of my DataGrid, displaying a tool tip > > based > > > on > > > > > the > > > > > > id of the UIComponent I'm currently looking at. > > > > > > > > > > > > > > > > > > --- In [email protected], "djbrown_rotonews" > > > > > > <djbrown_rotonews@> wrote: > > > > > > > > > > > > > > I'm wanting to add toolTip for dataGrid headers, where a > > tool > > > > > tip is > > > > > > > displayed when hovering over a header of a data grid that > > > > > displays > > > > > > > more information about that particular column. It > doesn't > > > appear > > > > > > than > > > > > > > an itemRollOverEvent is generated when rolling over a > > > header, so > > > > > > > what's the best way to do this? > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

