Trying to make a custom app starting with an example from the Examples page from the SDK 2.1 docs. This code below works except the clickable column sorting does not work on Iteration, Owner or Project. The columns can be clicked but do not sort. Meanwhile ID, Name and ScheduleState will click and sort.
How to get Iteration, Owner, Project to sort on click like other columns?
Ext.define('Rally.example.SimpleTreeGrid', {
extend: 'Rally.app.App',
componentCls: 'app',
launch: function() {
Ext.create('Rally.data.wsapi.TreeStoreBuilder').build({
models: ['defect'],
autoLoad: true,
enableHierarchy: true
}).then({
success: this._onStoreBuilt,
scope: this
});
},
_onStoreBuilt: function(store) {
this.add({
xtype: 'rallytreegrid',
store: store,
context: this.getContext(),
enableEditing: false,
enableBulkEdit: false,
shouldShowRowActionsColumn: false,
enableRanking: false,
columnCfgs: [
'Name',
'ScheduleState',
'Iteration',
'Owner',
'Project'
]
});
}
});
Rally.launchApp('Rally.example.SimpleTreeGrid', {
name: '**** Tree Grid Example'
});