我有 Rally.ui.grid.Grid 功能,我想在 Portfolio Item 页面上添加过滤器以进行发布。我该怎么做?这是我的网格。
this._myGrid = Ext.create('Rally.ui.grid.Grid', {
xtype: 'rallygrid',
title: 'Feature Scoring Grid',
store: myStore,
enableEditing: true,
enableRanking: true,
columnCfgs: [
{
dataIndex: 'DragAndDropRank',
maxWidth: 50
},
{ // override ID and Name - no changes on these allowed in this grid
text: 'Portfolio ID',
dataIndex: 'FormattedID',
flex: 1,
xtype: 'templatecolumn',
tpl: Ext.create('Rally.ui.renderer.template.FormattedIDTemplate') // make the ID a live link
},
{
text: "Name",
dataIndex: "Name",
flex: 2
},
{
text: "Release",
dataIndex: "Release",
flex: 3
},
"TimeValue", 'OERR', 'UserValue', 'jobSize', // use native Ext formatting - allows cell edits & got rid of errors
{ // override score so that the user can't edit it
text: "Score",
dataIndex: 'Score'
}
]
});
发布排序无法正常工作,我不明白如何修复它。我没有找到任何有关发布过滤器何时适用于功能的示例。