Javascript 在Dashcode上动态更改数据源的xml源
经典的StackLayout列表场景。 StackLayout有:主页-详细信息-页 在家里,我有这样一个数据源:Javascript 在Dashcode上动态更改数据源的xml源,javascript,iphone,dashcode,Javascript,Iphone,Dashcode,经典的StackLayout列表场景。 StackLayout有:主页-详细信息-页 在家里,我有这样一个数据源: <row><name>Element 1</name><resource>../Element1.xml</resource></row> <row><name>Element 2</name><resource>../Element2.xml</resou
<row><name>Element 1</name><resource>../Element1.xml</resource></row>
<row><name>Element 2</name><resource>../Element2.xml</resource></row>
这将绑定到名称homeList的列表。单击元素1上的“加载详细信息”
Detail有一个列表,我们称之为detailList,问题是我必须在运行时将这个列表与以前选择的资源元素绑定