2011-10-11 64 views

回答

0

我找到了解決方案。有點棘手和容易。

//-First get dataSource which is used for binding. 
// then change URl property. 
var ds = dashcode.getDataSource('dataSource'); 
ds.url = 'http://192.168.10.14/mysite/sample2.xml'; 

//-Reload that list which is binded to dataSource. 
var list = document.getElementById('resultList'); 
list.object.reloadData(); 

對其做.. :)

相關問題