1
첫 번째로드시 내 gridpanel이 json의 colmodel을 읽고 있습니다. 렌더러가 작동하지 않는 것을 제외하고는 모든 것이 좋습니다. 서버에서ExtJS GridPanel json의 colModel 렌더
json으로 반환 : colModel의로드를 처리
,"colModel":[
{"header":"Reg. Id","dataIndex":"RegId","sortable":true},
{"header":"Reg. Date","dataIndex":"RegDT","sortable":true,"renderer":"Ext.util.Format.dateRenderer('d-m-Y H:i:s')"}
]
Javascipt : 사전에
var tempConfig = Store.reader.jsonData.colModel;
colModel.setConfig(tempConfig,true);
registrationGrid.reconfigure(registrationStore, colModel) ;
감사합니다.