过滤列后,ExtJS中的网格总长度未更新

时间:2018-10-12 14:01:38

标签: javascript extjs grid sencha-touch extjs5

我正面临更新网格总长度的问题。
问题::当我过滤网格中的任何列时,网格的总长度仍显示为29,如图像的突出显示部分所示,但此处应仅显示1。

Screen Shot of the issue

我在网格中的代码如下:

  • 商店:

            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: [],
    
    
            }
    
        }
    }
    

    注意::所有其他困惑仍然是默认设置,并且适用于其他网格。

0 个答案:

没有答案