拉力多选下拉列表

时间:2015-04-19 18:20:55

标签: rally

是否有办法在Rally中为用户素材的计划状态字段创建多选下拉列表。我想根据他们的日程安排状态过滤用户故事。

我已经阅读了文档,Rallyfieldpicker似乎是完美的,但我不清楚如何过滤用户故事领域。 我尝试过以下操作无效:

       {
        xtype: 'rallyfieldpicker',
        autoExpand: true,
        modelType: 'userstory',
        fieldLabel: 'Filter by Schedule State',
        filterFieldName: 'ScheduleState'
       }

有人可以帮我解决这个问题。谢谢!

1 个答案:

答案 0 :(得分:0)

rallyfieldvaluecombobox具有multiSelect配置属性。每个选项前面没有复选框表示允许多选,但它仍然支持多选。

this.add({
   xtype: 'rallyfieldvaluecombobox',
   model: 'UserStory',
   multiSelect: true,
   field: ScheduleState,
    listeners: {
        select: this._getFilter,
        ready: this._getFilter,
        scope: this
    }
});

查看在this github repo

中使用该应用的自定义应用示例
相关问题