Results 1 to 2 of 2

Thread: Issues combining local grouping with remote sorting

    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
    16
      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
    39,323
    Vote Rating
    1294
      0  

    Default

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

Posting Permissions

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