项目添加时抱这个错误: 'this.store' 为空或不是对象

解决方案 »

  1.   

    this.store  这个是用了ext? 求 详细问题
      

  2.   

    是ext我也是刚接处所以不知道说哪里才是重点有点不太懂
    我用断点调有这几个地方是这样的
    有个emptyText件我在里面加值colspan : 2,
    items : [ {
    xtype : 'combo',
    fieldLabel : '申请软件清单',
    emptyText : '请选择软件名称...',
    allowBlank : false,
    width : 155,
    readOnly : true,
    triggerAction : 'all',
    mode : 'local',
    name : 'software.software_items',
    id : 'software_items',
    store : new Ext.data.SimpleStore( {
    fields : [ 'value', 'text' ],
    data : [ [ '1', '国研软件' ], [ '2', '经济软件' ],
    [ '3', '保险软件' ], [ '4', '中小软件' ] ]
    }),
    valueField : 'value',
    displayField : 'text' } ]
    然后断点就出现在this.store.filter(this.displayField,c)这里,有这方面专家高手请赐教!
      

  3.   

    this.store 这里的this估计不是combobox的吧