【问题标题】:Change grouping of store ExtJS更改商店 ExtJS 的分组
【发布时间】:2013-09-05 19:06:37
【问题描述】:

我有以下代码:

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

我想重置“电话”上的分组。 如何更改存储中的数据分组并重新加载?

【问题讨论】:

  • 那不是一些 Touch 代码吗?如果是这样,您应该注意相应的标记,Ext 和 Touch 充满差异。

标签: extjs


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2014-03-11
    • 1970-01-01
    • 2012-01-09
    • 2015-05-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-06
    • 1970-01-01
    相关资源
    最近更新 更多