构建一个“具有最高组合项目的功能卡板作为泳道” - 如何处理rowConfig?

时间:2017-07-14 22:02:09

标签: rally appsdk2

我正在尝试通过HighestPortfoilioItem构建功能拉力板组,我无法创建所需的泳道。对于以后添加的字段,rowConfig应该是什么?

_load: function (store, records) {
    var me = this;
    _.each(records, function (record) {
       //trying to add the product to create the swimlane
        record.set('HigestPorfolioItem', me.FeaturePorfolioValueMap[record.data.ObjectID]);
    });
    this._addBoard();
},
_addBoard: function () {
    var me = this;
    me.add({
        xtype: 'rallycardboard',
        types: ['PortfolioItem/Feature', 'PortfolioItem/product'],
        attribute: 'ScheduleState',
        context: this.getContext(),
        enableRanking: false,
        rowConfig: {
            field:'HigestPorfolioItem'
        }
    });
}

谢谢!

0 个答案:

没有答案