Results 1 to 3 of 3

Thread: Grid no remote grouping

  1. #1
    Sencha User
    Join Date
    Oct 2015
    Posts
    52
    Answers
    1

    Default Grid no remote grouping

    How can I disable the remote grouping of a grid.

    I want to use the function

    Code:
    features: [{ftype:'grouping'}],
    But I dont want the the group to be done by the backend. Only the present results in the store.

    Capture.JPG

    The store looks like below. Need to keep remoteSort and remoteFilter.
    Cannot find something lime remoteGroup.

    Code:
                var myStore = Ext.create('Ext.data.Store', {                
                    model: gridModel,
                    pageSize: (searchParams.records_per_page != undefined)?searchParams.records_per_page:50,
                    autoLoad: true,
                    remoteSort: true,
                    remoteFilter: true,
                    proxy: {
                        type: 'ajax',
                        extraParams: searchParams,
                        url: util.ConfigData.cgiUrl,
                        reader: {
                            type: 'json',
                            rootProperty: 'Rows',
                            totalProperty: 'TotalRowCount'
                        }
                    }
                });

  2. #2
    Sencha User
    Join Date
    Oct 2015
    Posts
    52
    Answers
    1

    Default

    somebody can help?

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892
    Answers
    41

    Default

    Grouping is a type of sorting. remoteSort is true, so grouping goes with that.

    It is probably a design shortcoming in the store that these two are not picked apart. This should be promoted to a bug report.

    There needs to be a remoteGroup config which causes the store to either include the grouper with sorters in the remote request, or perform grouping locally.

Similar Threads

  1. Replies: 15
    Last Post: 17 Dec 2014, 1:44 AM
  2. Replies: 2
    Last Post: 16 May 2011, 10:03 PM
  3. [B2] Store/Grid remote grouping
    By isglass in forum Ext: Discussion
    Replies: 0
    Last Post: 12 Apr 2011, 6:52 AM
  4. Replies: 3
    Last Post: 2 Feb 2010, 9:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •