jsd1408 2015-09-04 09:08 采纳率: 50%
浏览 1590
已采纳

用extjs4.1的写的store中的数据加载不到textfiled中,求解啊!

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
                                }
数据加载不上去
  • 写回答

1条回答 默认 最新

  • devmiao 2015-09-04 12:44
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?