Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Location
    Pune, India
    Posts
    7
    Vote Rating
    0
    amritmishra is on a distinguished road

      0  

    Default Sencha Touch list store diable sorting.

    Sencha Touch list store diable sorting.


    I have my list which is getting data from php service, the data received is in the order I need. But sencha automatically sort my list alphabetically. Below is my code :

    http://stackoverflow.com/questions/1...35801#13235801

    I want my list to be grouped according to the group_label, but not sorted.

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    714
    Vote Rating
    42
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    I think I once managed to do this by adding a sortProperty to a grouper. It shouldn't be an existing field so it will not find anything to sort. Hope this still works...
    Code:
    grouper: {
        sortProperty: 'thisIsAnInexstingField',
        groupFn: function (record) {
            return record.data.group_label;
        }
    }

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Location
    Pune, India
    Posts
    7
    Vote Rating
    0
    amritmishra is on a distinguished road

      0  

    Default


    Hmm its seems to affect the list, but not completely. I am still getting the list sorted in some weird manner like: numbers first, then alphabetically.

  4. #4
    Sencha User
    Join Date
    Jul 2012
    Location
    Pune, India
    Posts
    7
    Vote Rating
    0
    amritmishra is on a distinguished road

      0  

    Default


    I got the solution :
    adding
    remoteSort : true,
    to the store is fixing the issue.

Thread Participants: 1

Tags for this Thread