1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    3
    Vote Rating
    0
    boniek83@o2.pl is on a distinguished road

      0  

    Default Unanswered: How to clear grouping.

    Unanswered: How to clear grouping.


    Hi

    i am looking for a way of clearing list grouping.

    This is the way I am adding grouper to the store:
    PHP Code:
    store.setGrouper({        
      
    groupFn: function(item) {            
        return 
    'Priority: ' item.get('priority');        
      },        
      
    sortProperty'priority'    
    }); 
    Now user can pick an option to display data without grouping. I tried this but did't work:
    PHP Code:
    store.setGrouper(false); 
    Any ideas? Thanks

  2. #2
    Sencha User
    Join Date
    Aug 2012
    Location
    Denmark
    Posts
    16
    Vote Rating
    2
    Answers
    1
    Shyre is on a distinguished road

      0  

    Default You can toggle it on the list

    You can toggle it on the list


    Hey you can try this!

    http://docs.sencha.com/touch/2.2.1/#...hod-setGrouped

Thread Participants: 1

Tags for this Thread