Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Touch Premium Member
    Join Date
    Jun 2008
    Location
    Germany, Dortmund
    Posts
    249
    Vote Rating
    14
    hschaefer123 will become famous soon enough

      0  

    Default Issues combining local grouping with remote sorting

    Touch SDK 2.1.0

    Trying to use localGrouping (only needing grouper/groupFn)with remoteSorting, the generated sortParam will always contain 2 sort params.The first one is the grouper remaing empty,the second one is the used remote sort param as expected.It seems, that the locally used group param is also used as first remote sort param, but grouping is not enabled to be remote!

    I am currently not available to use remote sorting in combination with a local grouping function!

    Code:
        config: {
            autoLoad: true,
            model: 'OtfhApp.model.Order',
            pageSize: 10,
            remoteSort: true,
            storeId: 'OrderStore',
            proxy: {
                type: 'rest',
                url: 'data/orders.xml'
            },
            sorters: {
                property: 'ERDAT'
            },
            grouper: {
                groupFn: function(record) {
                    return Ext.util.Format.date(record.get('ERDAT'), 'l, d.m.Y');
                }
            }
        }

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,546
    Vote Rating
    1119
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1