Bracket notation replaces dot notation, so try:

create_test.text =
parentApplication.reftables_grid.selectedItem[fieldname];

 

Tracy Spratt 
Lariat Services 

Flex development bandwidth available 

________________________________

From: [email protected] [mailto:[email protected]] On
Behalf Of Jason B
Sent: Monday, January 12, 2009 10:00 AM
To: [email protected]
Subject: [flexcoders] Re: get selected datagrid dynamically

 

also tried

create_test.text =
parentApplication.reftables_grid.selecteditem.this[fieldname];

 

Reply via email to