Hi Iain,
Try with selectedNode instead selectedItem.
João Fernandes
Secção de Desenvolvimento
Departamento de Informática
From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
Sent: sexta-feira, 5 de Agosto de 2005
12:03
To: [email protected]
Subject: [flexcoders] Dynamic Tree
and VO's
Hi,
I have a tree which is populated (through the
dataProvider) from a
returned array of VO's from a RemoteObject Call.
Within the VO is a
number of attributes, two of the attributes are
called data and label.
The tree shows ok. I want to be able to extract
the other attributes
that are associated with this selectedItem and
can't seem to get the
data out. How do I do this? For example, another
attribute is
call 'postcode' so I tried to use
change="myVariable =
event.selectedItem.getProperty('postcode')"
but this did not work,
although if I change the 'postcode' to 'label'
then I get the label.
Can you help?
Regards,
Iain
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Dynamic Tree and VO's João Fernandes
-