var store2 = Ext.create('Ext.data.Store', {
model: 'Computer',
remoteSort: true,
proxy: {
type: 'ajax',
url: 'computer/FindComByRId.do',
reader: {
type: 'json',
root: 'rcomputer'
}
}
});
在panel中的
items:[
{fieldLabel:'computertype',
readOnly:true,
name:'computertype',
xtype:'textfield',
dataIndex: 'computertype',
allowBlank:false
}
数据加载不上去