|
I have the exact same setup…but
nothing is being passed to the dataTipFunction…wondering if it’s
because the dataprovider is not set until after the tree has initialized? -Stace From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann Nevermind…I created a label maker
function and set my tree component’s dataTipFunction to this function and
the val object sent to the label maker function is the entire tree node, so I
just return val.getProperty(“label”) (because the dataprovider of
my tree is XML) and my data tips work perfectly now. <mx:Script> function dataTipMaker(val):String {
return val.getProperty("label");
} </mx:Script> <mx:Tree id="portfolioTree"
dataProvider="{portfolios}" width="100%"
height="400" showDataTips="true" dataTipFunction="dataTipMaker"
/> robert l. brueckmann senior web developer merlin securities p: 212.822.4821 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com ---- LSpots keywords ?> ---- HM ADS ?> YAHOO! GROUPS LINKS
|
- RE: [flexcoders] ToolTips on Tree Nodes? Stacy Young
- RE: [flexcoders] ToolTips on Tree Nodes? Robert Brueckmann

