This content has been marked as final.
Show 2 replies
-
1. Re: datagrid data into a textfield
dmeN Jun 2, 2010 7:09 AM (in response to Kristtee)event.currentTarget will get you the dataGrid - what you have now: event.target will get you the cell renderer inside the grid... Also, there is no data property in your xml - so you need to use name and/or avg.
So you can do like:
function clickHandler(event:MouseEvent):void{
var dgdata:Object = event.currentTarget.selectedItem;
tf.text = dgdata.name + " " + dgdata.avg;
} -
2. Re: datagrid data into a textfield
Kristtee Jun 3, 2010 1:00 AM (in response to dmeN)hi dmennenoh
thank you so much. You rock. Really appreciate your time and help.
Thank you
Krish

