更改商店ExtJS的分组

时间:2013-09-05 19:06:38

标签: extjs

我有以下代码:

Ext.define('MyStore', {
    extend: 'Ext.data.Store',
    config: {
        //proxy and domain properties
        model: 'Contact' ,
        autoLoad: true,
        groupField: 'Name'
    }
});

我想重置“手机”上的分组。 如何更改商店中的数据分组并重新加载?

1 个答案:

答案 0 :(得分:6)

使用商店的group方法。它将clear the previously set groupers

相关问题