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,241
    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

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