0
以下是代码。我想检查加载到input1store的值,我该怎么做?如何检查extjs存储中的值
我试着做alert(input1store)
,但它只是返回对象,根本没有任何帮助。的
var input1store = new Ext.data.Store({
fields: [{name: 'name'}],
proxy:{
type: 'ajax',
url: 'www.requesturl.com?format=json&source1',
reader: {
type: 'json',
root: 'xml.result'
}
},
autoLoad:false,
sorters: [{property: 'name', direction: 'asc'}]
});
可能重复的[煎茶 - store.each() - 数据是不可用的,它们仅在深数据类(http://stackoverflow.com/questions/15283033/sencha-store - 每一个数据 - 是 - 不可供他们-是只深,在数据级) –