【发布时间】:2014-04-16 21:53:56
【问题描述】:
我正在尝试实现一个rallygrid,它利用了 Rally 提供的内置排名系统。我遇到了几个问题让这个工作:
- 拖放功能似乎在生产 Rally 环境中根本不起作用,而
App-debug.html版本确实允许我更改项目的排名。 - 这两个版本都没有像在轨道选项卡上看到的那样在拖放列上提供任何格式(六个点)。这使得很难判断网格的排名是否可以调整。
- 如果我禁用选择,排名将不再起作用。我相信这很可能与使用所选记录来保存新排名有关,但如果我至少可以使记录被选中的情况不明显,那就太好了。除了修改 CSS,我不确定是否有解决办法。
对于上下文,我使用的是 App SDK RC2,我的网格配置如下所示:
{
xtype: 'rallygrid',
model: 'PortfolioItem/Feature',
enableRanking: true,
columnCfgs: [{
dataIndex: 'DragAndDropRank',
maxWidth: 50
},{
dataIndex: 'FormattedID',
maxWidth: 50
},{
dataIndex: 'Name',
flex: 1,
minWidth: 160
},{
dataIndex: 'PlannedStartDate',
maxWidth: 90,
align: 'center'
},{
dataIndex: 'PlannedEndDate',
maxWidth: 90,
align: 'center'
},{
dataIndex: 'ActualStartDate',
maxWidth: 90,
align: 'center'
},{
dataIndex: 'ActualEndDate',
maxWidth: 90,
align: 'center'
},{
dataIndex: 'PercentDoneByStoryCount',
maxWidth: 90,
align: 'center'
},{
dataIndex: 'PercentDoneByStoryPlanEstimate',
maxWidth: 90,
align: 'center'
}]
}
【问题讨论】: