2
JSON 리더는 상점에 대해 정의에서 다음과 같이모델 저장소 EXTJ에서 추가 속성을 읽는 방법은 무엇입니까?
Ext.define('App.store.MyList', {
extend : 'Ext.data.Store',
model : 'App.model.MyList',
pageSize : 100,
proxy : {
type : 'ajax',
actionMethods : {
create : 'POST',
read : 'POST',
update : 'POST',
destroy : 'POST'
},
root : 'results',
url : 'aaa.htm',
reader : {
type : 'json',
root : 'results',
totalProperty: 'totalCount',
extraProperty: 'abcd'
},
simpleSortMode : true
}
});
가 어떻게 루트 이외의 추가 속성을 읽습니까? reader
안에 넣으려고했는데 작동하지 않았습니다.