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
    Aug 2012
    Posts
    14
    Answers
    1
    Vote Rating
    0
    rks1966 is on a distinguished road

      0  

    Default Unanswered: DataView losing connection with Store ?

    Unanswered: DataView losing connection with Store ?


    I am very new to Sencha Touch and have a weird problem which I have struggled all day to solve but I cannot get anywhere.

    My Application opens with a Search form where the user keys in some search criteria and on hitting a search button the results are retrieved from the server and then popped onto the navigator and displayed using a DataView on a Panel. Below this DataView I have a SearchField which allows the user to further filter the results (which I activate on the keyup event).

    This all works PERFECTLY.

    Where it starts to go wrong is if the user hits Back and returns to the Search form and performs another search. In this case the search results are presented correctly again but the SearchField filtering will NOT work. The actual keyup event is activating ok and it is even filtering the store correctly - I have outputed the results to the console. So its all functioning exactly as I would expext it to EXCEPT the screen does not reflect the newly filtered store (and yet it works perfectly the first time). Its as if the second time through, the view has lost its connection to the store - is that possible (or likely) ?

    Does anyone have ANY idea what might be happening here?

    (all using Sencha Touch 2 and Architect)

    Thanks, if anyone can suggest anything...

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

      0  

    Default


    Can you give some code?
    It seems you create a new store instance but your dataview still uses old one.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    117
    Vote Rating
    9
    Bunchofstring will become famous soon enough

      0  

    Default


    When the dataview is created, do you clear the filters from the last search?

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Posts
    14
    Answers
    1
    Vote Rating
    0
    rks1966 is on a distinguished road

      0  

    Default


    Hi. Yes, I do clear the filters.

Thread Participants: 2

Tags for this Thread