2 Replies Latest reply on Nov 12, 2009 11:33 AM by Flex harUI

    Mouse Over in every cell of DataGrid

    appdevs

      I have a Data Grid in my application and for every cell in DataGrid, I need to show some specific data on MouseOver.I tried the following but no tool tip appears on mouseOver:

       

       

       

       

      private function buildToolTip(item:Object):String{

       

      var myString:String ="TOOL TIP";

      mx.controls.Alert(myString);

      return myString;

      }

       

       

       

       

       

       

       

       

       

       

       

       

       

      <mx:DataGrid id="dg3" dataProvider="{resultA1}" width="379" dataTipFunction="buildToolTip" >

       

      <mx:columns >

       

           <mx:DataGridColumn width="110" dataField="@srcVariable" headerText="EtcSystem Variable" showDataTips="true"/>

       

       

           <mx:DataGridColumn width="70" dataField="@srcValue" headerText="{server1Display}" showDataTips="true" />

       

       

      </mx:columns>

       

      </mx:DataGrid>

       

      Here resultA1 is a XMLList .

      Please help.