0

以下に示すように、API 呼び出しでフィルター操作を実行していたときに、フィルター パラメーター値、つまり名前の値が含まれていません。

_dc:1427270031651
counrtyId:2
custId:1
id:
name:
page:1
start:0
limit:10
sort:[{"property" : "id", "direction" : "desc"}]

これは私の店です

Ext.define('MyDesktop.store.DirectoriesStore', {
    extend: 'Ext.data.Store',
    requires:'MyDesktop.model.DirectoriesNumberModel',
    model: 'MyDesktop.model.DirectoriesModel',
    storeId:'DirectoriesStore',
    autoLoad : {
        params : {
            start : 0,
            limit : '10'
        }
    },
    pageSize : 10,
    remoteSort : true,
    sorters : [{
        property : 'id',
        direction : 'desc'
    }],
    remoteFilter : true,
    proxy:{
        type:'ajax',
        url:'./configuration/directory/get',
        reader:{
             type: 'json',
             root: 'data',
             totalProperty: 'total'
        },
        extraParams: {
            'countryId':    '',
            'custId':  ''
        }
     },
    autoLoad:false
});

これが私の見解です

Ext.require([
    'Ext.ux.grid.FiltersFeature'
]);

var filters = {
    ftype: 'filters',
    local: true,
    features: [{type: 'integer',dataIndex: 'name'},
               {type: 'string',dataIndex: 'description'},
               {type: 'string',dataIndex: 'fileName'}]
            };

次のようにグリッドを追加しました。

features: [filters],

フィルターは機能していますが、API 呼び出しフィルターが呼び出していません

誰か助けてください。

4

2 に答える 2