},
],
+ features: [
+ {
+ ftype: 'grouping',
+ groupHeaderTpl: '{[ "File: " + values.name ]} ({rows.length} repositor{[values.rows.length > 1 ? "ies" : "y"]})',
+ enableGroupingMenu: false,
+ },
+ ],
+
initComponent: function() {
let me = this;
},
],
});
-
- let groupingFeature = Ext.create('Ext.grid.feature.Grouping', {
- groupHeaderTpl: '{[ "File: " + values.name ]} ({rows.length} ' +
- 'repositor{[values.rows.length > 1 ? "ies" : "y"]})',
- enableGroupingMenu: false,
- });
-
Ext.apply(me, {
store: store,
- features: [groupingFeature],
});
me.callParent();