Hello!
I have a simple DataGrid in Flex 3:
<mx:DataGrid width="{indexW - 20}" height="100%"
headerHeight="0" resizableColumns="false"
dataProvider="{itemsList}"
itemClick="itemKlik(event)"
dataTipFunction="displayTooltip">
<mx:columns>
<mx:DataGridColumn id="col1" dataField="title" showDataTips="true"/>
<mx:DataGridColumn id="col2" width="25" textAlign="left" dataField="index" showDataTips="true"/>
</mx:columns>
</mx:DataGrid>
I am displaying a tooltip with this function:
private function displayTooltip(item:Object):String{
var s:String = " ";
if (item != null){
s = s + item.title;
}
return s;
}
What I want to do is to 'force' my DataGrid to display ERROR TOOLTIPS with 'errorTipRight' option instead of displaying a regular tooltips.
Is there a simple way to accomplish this?
Thanks in advance!