Hi Alex, I don't know if you have any influence on the matter (i.e. are you an Adobe Engineer?), but, I can only assume the MXML compiler happily processed the mx:DataGridColumn attribute specifications that included the non-supported use case here: dataTipFunction AND itemRenderer
If that is an unsuppported use case as you seem to be saying, it sure would be helpful for the MXML compiler to announce that. <sarcasm>Isn't Flex wonderful</sarcasm> -- John --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > The item renderer is responsible for showing the datatips. > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of satyakishore > Sent: Tuesday, February 19, 2008 3:50 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] showDataTips are not working for the Datagrid > columns having itemRenderers > > > > Hi Flex Friends, > > Datagrid column having itemRenderer, This itemRenderer class with > display one icon and label. > > showDataTips are not working for the Columns having ItemRenderers. > > Is there any solution where we can use both showDataTips and > ITemRenderer for DataGridColumn > > Sample code: > > <-DATAGRID-> > > <mx:DataGrid > > <mx:columns> > <mx:DataGridColumn dataField="Artist" headerText="Artist"/> > <mx:DataGridColumn dataField="Price" headerText="Price" > showDataTips="true" dataTipFunction="showTrunkatedText1"/> > <mx:DataGridColumn dataField="Album" headerText="Album" > showDataTips="true" dataTipFunction="showTrunkatedText" > itemRenderer="myItemRendererClass"/> > > </mx:columns> > </mx:DataGrid> > > <-ItemRenderer class-> > <?xml version="1.0" encoding="utf-8"?> > <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> " > verticalScrollPolicy="off" > horizontalScrollPolicy="off" > verticalAlign="middle"> > <mx:HBox> > <mx:Image source="@Embed > (source='ICO16_INFORMATION.png')"/> > <mx:Label text="{data.Album}"/> > </mx:HBox> > </mx:HBox> > > Thanks in Advance. > Satya >