0
在搜索2.0p5文檔時,我找不到設置rallyiterationcombobox項目的方法。因此,它顯示錯誤的迭代。與rallyteamcombobox一樣,我添加了一個項目鍵/值對,但似乎被忽略。我如何使用rallyiterationcombobox選擇與其他項目相關的迭代?Rally 2.0p5 API:設置rallyiterationcombobox項目
在搜索2.0p5文檔時,我找不到設置rallyiterationcombobox項目的方法。因此,它顯示錯誤的迭代。與rallyteamcombobox一樣,我添加了一個項目鍵/值對,但似乎被忽略。我如何使用rallyiterationcombobox選擇與其他項目相關的迭代?Rally 2.0p5 API:設置rallyiterationcombobox項目
在挖掘到rallyiterationcombobox類之後,我決定擴展它。我添加了一個單獨的字段,現在它做我想要的。
(function()
{
var Ext = window.Ext4 || window.Ext;
Ext.define('Rally.ui.combobox.ProjectIterationComboBox', {
extend: 'Rally.ui.combobox.IterationComboBox',
alias: 'widget.rallyprojectiterationcombobox',
initComponent: function()
{
this.config.storeConfig.context.project = this.project;
this.callParent(arguments);
},
});
})();