我正在尝试通过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'
}
});
}
谢谢!