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

      0  

    Default Preventing large list from being painted when I clearFilter and issue new filter

    Preventing large list from being painted when I clearFilter and issue new filter


    I have large list of 500 items, I used localstorage store.
    My problem is when I want re-filtering the list I clearFilter and issue new filter, this cause the list to be drawn twice once with full list of items (no filter) and second with the new filter.
    That behavior cause unwelcome delay on the list interface.

    The Question: how can I prevent the list from being painted after clearFilter and pain it after Filter.

  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


    have you tried to prevent the firing of events on the store bound to the list?
    http://docs.sencha.com/touch/2-1/#!/...-suspendEvents

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

      0  

    Default


    Many thanks ingo, It enhance the speed but still filtering large localstorage is time consuming. I am waiting for sql proxy to depend on; I hope it will solve local storage problems.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi