ext.js使用Ext设计器加载JSON数据gridpanel故障

问题描述

|| 因此,由于我的笨拙,我使用EXT.js使用GUI ext设计器来开发各种数据门户。我正在通过编码为JSON的PHP从服务器检索数据。我将URL放到GUI中,并根据需要设置了参数。我尝试了编辑首选项,以更改URL。 而且我遇到了加载错误,任何帮助都会很棒。屏幕截图链接。 http://camdesigns.net/images/img.png 附带的问题是,根参数是什么? 这是我的商店:
MyStore = Ext.extend(Ext.data.JsonStore,{
    constructor: function(cfg) {
        cfg = cfg || {};
        MyStore.superclass.constructor.call(this,Ext.apply({
            storeId: \'MyStore\',url: \'/lids/return-data-json.PHP?investor=fifth-colony-capital\',root: \'rows\',successproperty: \'true\',autoLoad: true,restful: true,fields: [
                {
                    name: \'total_investors\',mapping: \'total_investors\'
                },{
                    name: \'total_insurerds\',mapping: \'total_insurerds\'
                },{
                    name: \'total_policies\',mapping: \'total_policies\'
                },{
                    name: \'fieldactive_policies\',mapping: \'active_policies\'
                },{
                    name: \'maturity_count\',mapping: \'maturity_count\'
                },{
                    name: \'average_age\',mapping: \'average_age\',allowBlank: false
                },{
                    name: \'average_life_expectancy\',mapping: \'average_life_expectancy\'
                },{
                    name: \'minimum_life_expectancy\',mapping: \'minimum_life_expectancy\',allowBlank: false,type: \'string\'
                }
            ]
        },cfg));
    }
});
new MyStore();
    

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)