电竞比分网-中国电竞赛事及体育赛事平台

分享

Extjs Grid store加載數(shù)據(jù)

 實力決定地位 2015-05-16

Extjs Grid store加載數(shù)據(jù)不會出來,網(wǎng)絡跟蹤能夠開到數(shù)據(jù)已經(jīng)查詢到前臺,可是就不顯示,
代碼如下
var contract_selectItem_storeBudget = new Ext.data.JsonStore({
proxy: new Ext.data.HttpProxy({
url: woo.constant.baseUrl+ "/AjaxPage/WooYuSuan/YusuanManager.aspx?cmd=list"
}),
reader: new Ext.data.JsonReader({
totalProperty: 'totalProperty',
root: 'List'
}, contract_selectItem_readerBudget)



});


修改后如下把JSONStore換成Store就出來了
var contract_selectItem_storeBudget = new Ext.data.Store({
        proxy: new Ext.data.HttpProxy({
            url: woo.constant.baseUrl+ "/AjaxPage/WooYuSuan/YusuanManager.aspx?cmd=list"
        }),
        reader: new Ext.data.JsonReader({
            totalProperty: 'totalProperty',
            root: 'List'
        }, contract_selectItem_readerBudget)

     
      
    });

    本站是提供個人知識管理的網(wǎng)絡存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權內(nèi)容,請點擊一鍵舉報。
    轉藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多