After spending ages on this - here is a simple solution
Ext.define('AnySelectedCombo', {
extend: 'Ext.form.ComboBox',
alias: 'widget.anyselectedcombo',
cls: "cst-filter",
allSelectedText: "All", // default
getDisplayValue : function() {
// Check if all items are selected
if (this.getStore() && this.value && (this.value.length > 0) && (this.getStore().getCount() == this.value.length)) {
return this.allSelectedText;
}
// Otherwise return as normally
return this.callParent(arguments);
}
});
JS Fiddle here: http://jsfiddle.net/84dj8/9/