1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    9
    Vote Rating
    0
    cdaller is on a distinguished road

      0  

    Default need selection model across pages for paged tables

    need selection model across pages for paged tables


    Hi!

    we need a selection model that remembers selections on all pages of a paged table. So selecting a row on page 1, then switch to page 2 (select a row there) and switching back to page 1 should show the selection and the selection model should return both selected rows in the getSelectedItems method.

    I know, this is kind of hard, as the items are recreated when paging from page 1 to page 2 and back...

    Is there any chance for this functionality (in the grid)?

    regards
    Christof

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    You will have to manage selections when using paging. Your best bet will be to keep track of selections for all of your data. Depending on your use case, you could save the selection state on the model itself. Anytime the selection changes you need to update your state. Then whenever the data is paged, you can apply the state to the current data.

Thread Participants: 1

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