rally.ui.renderer.template未显示数据
我已经在Rally app builder中创建了数据存储和数据模型。我想在缺陷模型的拉力网格中显示一些缺陷字段,并使用拉力渲染器对其进行格式化。在我的网格定义中,我有:rally.ui.renderer.template未显示数据,rally,Rally,我已经在Rally app builder中创建了数据存储和数据模型。我想在缺陷模型的拉力网格中显示一些缺陷字段,并使用拉力渲染器对其进行格式化。在我的网格定义中,我有: columnCfgs: [ { xtype: 'templatecolumn', text: 'ID', width: 100, tpl: Ext.create('Rally.ui.renderer.
columnCfgs: [
{
xtype: 'templatecolumn',
text: 'ID',
width: 100,
tpl: Ext.create('Rally.ui.renderer.template.FormattedIDTemplate')
},
{
xtype: 'templatecolumn',
text: 'Creation Date',
tpl: Ext.create('Rally.ui.renderer.template.DateTemplate', {the: 'CreationDate'})
},
{
text: 'Name',
dataIndex: 'Name',
flex: 1
},
{
text: 'Schedule State',
xtype: 'templatecolumn',
tpl: Ext.create('Rally.ui.renderer.template.ScheduleStateTemplate',
{field: 'ScheduleState'}
)
}, ...
格式化的Id和名称显示时没有问题,但创建日期和计划状态字段不显示。我不知道我做错了什么。如果我从这些字段中删除渲染器模板并仅显示值,则将显示值。但是渲染器模板由于某些原因无法工作。有什么建议吗?谢谢