gridboard
- обертка вокруг дерева или доски, а плагин filtercontrol должен работать с TreeGrid. Вот пример дерева сетки с enableHierarchy
значения ИСТИНЫ и rallygridboardcustomfiltercontrol
плагина:
Ext.define('CustomApp', {
extend: 'Rally.app.App',
componentCls: 'app',
launch: function() {
Ext.create('Rally.data.wsapi.TreeStoreBuilder').build({
models: ['userstory'],
autoLoad: true,
enableHierarchy: true
}).then({
success: this._onStoreBuilt,
scope: this
});
},
_onStoreBuilt: function(store) {
var modelNames = ['userstory'];
var context = this.getContext();
this.add({
xtype: 'rallygridboard',
modelNames: modelNames,
context:context,
enableHierarchy: 'true',
toggleState: 'grid',
plugins: [
{
ptype: 'rallygridboardcustomfiltercontrol',
filterControlConfig: {
modelNames: modelNames
}
}
],
cardBoardConfig: {
attribute: 'ScheduleState'
},
gridConfig: {
store: store,
columnCfgs: [
'Name',
'ScheduleState',
'Owner',
'PlanEstimate'
]
},
height: this.getHeight()
});
}
});
пример, кажется, использует тип gridboard. есть ли у вас аналогичный пример с использованием фильтра для grid/treegird? –