网格列上的Extjs过滤器不工作?
我正在尝试在ext grid列中添加过滤器,但它不起作用,非常感谢您的帮助 下面是网格代码网格列上的Extjs过滤器不工作?,extjs,Extjs,我正在尝试在ext grid列中添加过滤器,但它不起作用,非常感谢您的帮助 下面是网格代码 { xtype : 'gridpanel', border: false, title : 'Users', store : Store, features: [{ ftype : 'filters', paramPrefix : 'filterParam', autoReload : false, local
{
xtype : 'gridpanel',
border: false,
title : 'Users',
store : Store,
features: [{
ftype : 'filters',
paramPrefix : 'filterParam',
autoReload : false,
local : false,
showMenu: false,
filters:[{
type: 'string',
dataIndex: 'value'
}]
}],
columns: [
{text: 'Name', dataIndex: 'value', flex: 1, filterable: 'true',
items: {
xtype: 'textfield',
name: 'value',
width : '100%',
align: 'center',
margin: '0 2 2 2'}
},
{text: 'GID', dataIndex: 'key'}],
height: '100%',
width: '100%',
}
我尝试在上面的代码上添加下面的代码,但没有成功
Ext.Loader.setConfig({
enabled: true,
paths: {
'Ext.ux': './ext/ux'
}
});
Ext.require(['Ext.ux.grid.FiltersFeature']);
什么东西不起作用?过滤器并没有从网格中过滤记录。若我输入文本框,那个么它会在网格中显示过滤后的记录。我也遇到了一些问题。ExtJs 5不再支持它们。我找到了一个很好的过滤解决方案。