2 Replies Latest reply on Jan 10, 2007 12:26 PM by Pigg_Man

    dataTipFunction for datagrid not working

    Pigg_Man
      I have a datagrid with two columns. I need a datatip displayed for the first column. The code I have is:

      <mx:DataGrid dataProvider="{MyDP}" id="MyDataGrid_dg" >
      <mx:columns>
      <mx:DataGridColumn showDataTips="true" dataTipFunction="gridDataTip" dataField="label" headerText="Test"/>
      <mx:DataGridColumn dataField="label" headerText="Test"/>
      </mx:DataGrid>

      and dataTipFunction is a function in the script block. Any ideas of what else I need?