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 - 각각의 데이터는 사용할 수 없으며 - 유일한 - 데이터 - 깊이 클래스에 있음) –