1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    18
    Vote Rating
    0
    napiform is on a distinguished road

      0  

    Question Grid: Show only certain entries WITHOUT emptying store

    Grid: Show only certain entries WITHOUT emptying store


    Hello all -

    I have an Ext.grid.GridPanel with several columns, one of which is called "fruit". I want to "filter" the grid to allow viewing of one fruit at a time.

    Example: User clicks "apple" button ==> grid shows only records with "fruit"="apple".

    The key here is that I DO NOT want to empty my datastore. I want the user to subsequently click "pear" and have the grid show only those records with "fruit"="pear".

    Does anyone know how to do this? I'm in Ext 3.3.1.

    Thanks very much for your time.

  2. #2
    Sencha User darthwes's Avatar
    Join Date
    Mar 2010
    Posts
    633
    Vote Rating
    -11
    darthwes can only hope to improve

      0  

    Default


    Store.filter(property, value, anyMatch, caseSensitive, exactMatch)

    Store.clearFilter()
    Wes

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..."