Found the solution from a guy who emailed me ... thx

This is what worked for me:


yourDataGrid.addEventListener(ListEvent.ITEM_CLICK, setColumnCopy);

function setColumnCopy(){

_selectedCol = yourDataGrid.columns[event.columnIndex].dataField;

Alert.show(yourDataGrid.selectedItem[_selectedCol]);

}



As always, Thank you for all the help and support.

<BR><A 
HREF="http://www.helihobby.com/html/alon_desingpattern.html";><FONT 
SIZE="-1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif">Read my 
solution for Flex Component communication here...</FONT></A>

<BR>Sean - <A HREF="http://www.helihobby.com";><FONT SIZE="-1" 
FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif">HeliHobby.com</FONT>

Reply via email to