2013-06-28 44 views
1

我周围搜索,但没有看到如何让自定义看板上的PlanEstimate刷卡。如何获得PlanEstimate刷卡

我重写了CardContentRight,然后尝试设置showPlanEstimate,但并非无济于事。

我在文档中看到有一个setShowPlanEstimate,但是又一次,不确定在哪里实际放置该代码以使其出现。

Ext.define('Rally.ui.cardboard.plugin.MyCardContentRight', { 
     alias: 'plugin.mycardcontentright', 
     extend: 'Rally.ui.cardboard.plugin.CardContentRight', 
     config : { 
      showPlanEstimate: true 
     } 

    }); 

可能是一个简单的答案,但我似乎无法显示他们在我的卡片上。不能,我只是设置卡,以使其显示,或者我真的必须重写CardContentRight让它显示?

回答

0

只要您的卡片上指定的fields包含PlanEstimate,并且正在提取的数据包含此字段,它就可以工作,而无需扩展卡片内容右插件。