dataTipField/dataTipFunction is used to map the dataProvider to a string to be displayed by a renderer. The renderer can just call itemToDataTip(data) on the column. The resulting string is the dataTip/tooltip.
If I plug such a renderer into a DG with data that looks like { firstname: "alex", lastname: "harui" } I can set the dataTipField to "lastname", but If I've got some complex XML like <person> <name> <firstName>Alex</firstName> <lastName>Harui</lastName> </name> <address> <city>SF</city> <state>CA</state> </address> </person> I can cook up a dataTipFunction like data..lastName + ", " + data..firstName + " " + data..city I think that's what you want, or I don't understand what you're looking for. -Alex ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dfalling Sent: Friday, February 29, 2008 9:09 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: showDataTips are not working for the Datagrid columns having itemRenderers I guess I'm missing something obvious...are you saying to create the datatip field ahead of time in the file with the datagrid, and put a data tip function in the item renderer that accesses that field if it exists? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Alex Harui" <[EMAIL PROTECTED]> wrote: > > dataTipFunction?