无法在Chrome浏览器中编辑ExtJS 3.4可编辑网格中的最后一行

时间:2018-08-31 09:37:34

标签: extjs3

无法在Chrome浏览器中的ExtJS 3.4 Editable Grid中编辑最后一行。而且它在IE和FireFox中运行良好。它正在创建一个网格并动态填充数据。 下面是代码:

this.grid = new Ext.grid.EditorGridPanel({
        store: this.data,
        columns: [              
            {id:'engProgName',header: 'Eng Name', width: 326, sortable: true, renderer: this.renderTooltip, dataIndex: 'programNameEN',
                editor: new Ext.form.TextField({
                allowBlank: false, msgTarget: 'title'
            })},
            {header: 'German Name', width: 326, sortable: true, renderer: this.renderTooltip, dataIndex: 'programNameFR',
                editor: new Ext.form.TextField({
                allowBlank: false, msgTarget: 'title'
            })},


        ],
        height: 340,
        //autoExpandColumn:'engProgName',

        viewConfig: {
            emptyText: "No Records Found", deferEmptyText: false
        },

        bbar: new ASC.AdminTool.PagingToolbar({
            store: this.data
        })

    });
    this.grid.getBottomToolbar().on("beforechange",this.onBeforePageChange,Page);
    this.grid.on("sortchange",this.onSortChange,Page);
    // render the grid to the specified div in the page
    this.grid.render('srGrid');
    this.setPageToolbarSpacer();

0 个答案:

没有答案