1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    4
    Vote Rating
    0
    thehyperadvisor is on a distinguished road

      0  

    Default search list content in sencha architect 2

    search list content in sencha architect 2


    I'm a noob here trying to figure out how to search a list in sencha architect 2 using MVC. I'm assuming that I would have to make the search listen for onkeyup event but I'm stuck on how to search the store that the list is using to populate itself. Could someone show a example of how this would be done?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,883
    Vote Rating
    102
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Get a reference to the store and then invoke the filter method.

    Because the dataview is bound to the store any changes to it will automatically be reflected.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    4
    Vote Rating
    0
    thehyperadvisor is on a distinguished road

      0  

    Default


    Quote Originally Posted by aconran View Post
    Get a reference to the store and then invoke the filter method.

    Because the dataview is bound to the store any changes to it will automatically be reflected.
    Thanks for the hint. The problem i was having was with the reference. After figuring out how the reference is done it works now. I had to do it this way "store = Ext.getStore('MyJsonStore');". Thanks for the help.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar