Here's what you need mate:

http://livedocs.adobe.com/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html#dataTipFunction

-Josh

On Mon, Jun 9, 2008 at 2:16 PM, Manu Dhanda <[EMAIL PROTECTED]>
wrote:

>
> Hii,
>
> How can I make a tooltip that will work for each row of datagrid??
> Right now, the tooltip is displaying the same data for each row, as I point
> to some row.
>
> So, it is picking the data from the very first row that I point and once I
> move to any other row, it displays the same data. And once I click on some
> row or anywhere, it disappears and doesn't show up when I 'll move my
> pointer to other rows.
>
> Here are the code lines:
>
> public function init():void
> {
> flatADG.addEventListener(ToolTipEvent.TOOL_TIP_SHOW, myToolTipChanger)
> }
>
> public function myToolTipChanger(event:ToolTipEvent):void {
> ToolTipManager.currentToolTip.text = "Info:, " +
>
>
> mx.core.Application.application.tabPanel.recordsPanel.flatADG.selectedItem.flatId;
> }
>
> <mx:AdvancedDataGrid id="flatADG" rowHeight="26"
> dataProvider="{ModelLocator.ALL_FLATS}"
> change="trackSelectedItem(event)" toolTip=" " width="100%" height="100%">
>
> Any tips?? for this tooltip??
>
> Thanks,
> Manu.
>
> --
> View this message in context:
> http://www.nabble.com/ToolTip-for-each-row-in-a-DataGrid-tp17726100p17726100.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>
>  
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to