Javascript IE9中的ExtJS 5网格过滤和排序中断
我试图将过滤添加到一个简单的ExtJS5网格中。我使用的是安装提供的一个简单示例,看起来它工作得很好,除了在IE中,当我尝试进行过滤时,所有记录都被删除了 有人看到过这个问题吗?这是我正在使用的代码 `$(“#搜索员工”)。单击(函数(){Javascript IE9中的ExtJS 5网格过滤和排序中断,javascript,asp.net-mvc,extjs,extjs5,Javascript,Asp.net Mvc,Extjs,Extjs5,我试图将过滤添加到一个简单的ExtJS5网格中。我使用的是安装提供的一个简单示例,看起来它工作得很好,除了在IE中,当我尝试进行过滤时,所有记录都被删除了 有人看到过这个问题吗?这是我正在使用的代码 `$(“#搜索员工”)。单击(函数(){ }))` 通过增加网格高度解决了该问题。一旦我这样做了,过滤和排序就得到了修复。下面是我的网格现在的样子: var grid = Ext.create('Ext.grid.Panel', { store: store, col
}))` 通过增加网格高度解决了该问题。一旦我这样做了,过滤和排序就得到了修复。下面是我的网格现在的样子:
var grid = Ext.create('Ext.grid.Panel', {
store: store,
columns: [{
text: 'Name',
dataIndex: 'FullName',
flex: 1,
width: 440,
sortable: true,
filter: 'string'
}, {
text: 'Department',
dataIndex: 'DepartmentName',
flex: 1,
width: 200,
sortable: true,
filter: 'string'
}, {
text: 'Direct Phone',
dataIndex: 'PhoneNumber',
flex: 1,
width: 240,
sortable: true,
filter: 'string'
}, {
text: 'Notification Email',
dataIndex: 'EmailAddr',
flex: 1,
sortable: true,
filter: 'string'
}],
forceFit: true,
split: true,
renderTo: 'employeesSearchGrid',
height: 210,
frame: true,
plugins: ['gridfilters']
});
var grid = Ext.create('Ext.grid.Panel', {
store: store,
columns: [{
text: 'Name',
dataIndex: 'FullName',
flex: 1,
width: 440,
sortable: true,
filter: 'string'
}, {
text: 'Department',
dataIndex: 'DepartmentName',
flex: 1,
width: 200,
sortable: true,
filter: 'string'
}, {
text: 'Direct Phone',
dataIndex: 'PhoneNumber',
flex: 1,
width: 240,
sortable: true,
filter: 'string'
}, {
text: 'Notification Email',
dataIndex: 'EmailAddr',
flex: 1,
sortable: true,
filter: 'string'
}],
forceFit: true,
split: true,
renderTo: 'employeesSearchGrid',
height: 210,
frame: true,
plugins: ['gridfilters']
});