rally - Filter Control for Grid/TreeGrid -
rally - Filter Control for Grid/TreeGrid -
is filter command component available grid/treegrid (similar filter within portfolio items dashboard)? per sdk 2.0 documentation, seems component available gridboard.
gridboard
wrapper around treegrid or board, , filtercontrol plugin should work treegrid. here illustration of tree grid enablehierarchy
set true , rallygridboardcustomfiltercontrol
plugin:
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: }); }, _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() }); } });
rally
Comments
Post a Comment