如下,我只知道record: 'Item',
但是不知道里边的具体内容 怎样循环遍历得到
var store_daily_submit = new Ext.data.Store({
// load using HTTP url: '
//url: 'sheldon.xml',
url: '../action/MarketInfoController.zcjs?funcflg=getGoodsOrderList',
id:'store_daily_submit',
// the return will be XML, so lets set up a reader
reader: new Ext.data.XmlReader({
// records will have an "Item" tag
record: 'Item',
[color=red] id: 'id'[/color]
}, [
// set up the fields mapping into the xml doc
// The first needs mapping, the others are very basic
[color=red]'id2', 'para', 'bsFlag_n', 'price', 'wt_num', 'partQuantity', 'status','subdate','res','fflag','commoditySpecs'[/color]
])
});