1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    39
    Vote Rating
    5
    Answers
    1
    Zachary1748 is on a distinguished road

      0  

    Default Unanswered: store.filter()

    Unanswered: store.filter()


    I have been doing some research and I was not able to find much results when trying to learn how to use the store.filter() property and where I use it at in my app. I am using Sencha Architect and wanting to use it for my RSS feed, for when I click on a certain button it goes to that selected category of the blog.

    If anybody can help me with this I would be very thankful!

  2. #2
    Sencha User
    Join Date
    Apr 2010
    Location
    China
    Posts
    227
    Vote Rating
    20
    Answers
    64
    haduki will become famous soon enough haduki will become famous soon enough

      1  

    Default


    Code:
    controller
    
    config:{
        ref:{
           categoryBtn1: "#yourBtnId"
        },
        control:{
            categoryBtn1: {
                tap:'doFilterCategory'
            }
        }
    },
    doFilterCategory: function(){
        //assume 'store' is your store instance
        store.clearFilter();
        store.filter(categoryFieldName,categoryValue);
    }
    I write English by translator.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    39
    Vote Rating
    5
    Answers
    1
    Zachary1748 is on a distinguished road

      0  

    Default


    So i put it in my controller, now how do I use it for when the user clicks on the on the link it goes to that selected category for that blog?

Thread Participants: 1

Tags for this Thread