我正面临更新网格总长度的问题。
问题::当我过滤网格中的任何列时,网格的总长度仍显示为29,如图像的突出显示部分所示,但此处应仅显示1。
我在网格中的代码如下:
商店:
stores: { customAttributeStore: {
type: 'store',
model: 'MyApp.CCRCustomAttributesModel',
pageSize: 10,
remoteSort: false,
remoteFilter: false,
autoLoad: false,
proxy: {
type: 'memory',
enablePaging: true,
data: [],
reader: {
type: 'json'
}
},
filters: [],
}
}
}
注意::所有其他困惑仍然是默认设置,并且适用于其他网格。