Is it impossible to use groupers with an Ext.DataView component?
I have a store setup with sorters and groupers
Code:
Ext.define('STMobile.store.Cases', {
extend : 'Ext.data.Store',
requires: ['STMobile.model.Case'],
config: {
id: 'casesStore',
model: 'STMobile.model.Case',
sorters: 'patient_name',
grouper: {
groupFn: function(record) {
return record.get('patient_name')[0];
}
},
proxy: {
type: 'ajax',
method: 'GET',
url : 'http://localhost:3000/cases.json',
},
......
But it seems that because my view is
Code:
extend: 'Ext.DataView',
the groupers don't work. Which would mean it only works with Ext.List (Ext.dataview.List) which i can't use as we are using component data items.
Anyone know if I'm wrong here?