1 Reply Latest reply on Dec 18, 2009 4:28 AM by vksvicky

    Tooltip of an Image in Datagrid

    vksvicky

      I want to give a tool tip to an image which is in the datagrid.

       

      The data grid displays data from XML, so the it looks something like

       

       

      <mx:DataGridColumn headerText="Name" dataField="Name">

                 <mx:itemRenderer>

      <mx:Component>

      <mx:Image source="assets/icons/teacher.png" horizontalAlign="Center" />        

      </mx:Component>                                        

      </mx:itemRenderer>

       

          </mx:DataGridColumn>

       

      Here in the above example, I want to assign the value in dataField="Name" as the tooltip for the image, how can I do the same?