фильтра т.е. значение имени не включаются, когда я выполнял работу фильтра в моем API вызова, как написано нижефильтр значения пар (имя параметр) не посылает в Ajax называют
_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 фильтры вызовов не вызывая
Пожалуйста, кто может мне помочь.
Каков ваш фактический вопрос? –
Здесь фильтр пары не посылают _dc: 1427270031651 NodeId: 2 operatorId: 1 ID: Имя: страница: 1 старт: 0 предел: 10 рода: [{ "собственность": "идентификатор",» direction ":" desc "}] –
Хорошим местом для начала будет http://stackoverflow.com/help/how-to-ask. –