Hi All,
I am getting [object Object] problem while trying get data from List.
I am trying to get the data from the list on itemRollOver, where list
is filled on run time.
My list control is:
<mx:List
id="empList"
dataProvider="{ empDataProvider }"
........
itemRollOver="getEmpName(event)"
........
/>
& the corresponding action script is :
private function getEmpName(event:ListEvent):void{
var testEmp:String;
testEmp = empList.dataProvider[event.rowIndex];
...............
................
}
Here i am getting [object Object] as the value for "testEmp" instead
of actually value from list.
What wrong i did here. Please suggest me.
Thanks
-Sharath
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=.