1
こんにちは私は割り当てられたマイルストーンでUS/Defectsをグループ化しようとしています。誰かがこれを達成する方法を知っていますか? 所有者またはプロジェクト別にグループ化できますが、マイルストーンごとにグループ化する問題があります。グループRallygrid by Milestones
this.add({
xtype: 'rallygrid',
columnCfgs: [
'FormattedID',
'Name',
'State',
'Owner',
'Milestones'
],
context: this.getContext(),
features: [{
ftype: 'groupingsummary',
groupHeaderTpl: '{name} ({rows.length})'
}],
storeConfig: {
models: ['User Story', 'Defect'],
groupField: 'Milestones',
groupDir: 'ASC',
/* filters : [
{
property : 'State',
operator : '!=',
value : 'Closed'
}
],*/
fetch: ['Milestones'],
getGroupString: function(record) {
var Milestones = record.get('Milestones');
return (Milestones && Milestones._refObjectName) || 'No Milestones';
}
}
});
ありがとう!
大変助かりました! – arf