1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    gpbm is on a distinguished road

      0  

    Default Unanswered: getSelection() returns Store data, not grid data

    Unanswered: getSelection() returns Store data, not grid data


    I'm using a gridpanel which uses a store to populate the template-checkboxes in each column.

    It seems that when I check some boxes, and do the following:

    PHP Code:
    var grid myGridPanel.getSelectionModel();
    grid.setSelectionMode('MULTI');
    grid.selectAll();       
    var 
    records grid.getSelection(); 
    It's returning store values and not the up-to-date grid.

    Thoughts?

  2. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,084
    Answers
    112
    Vote Rating
    95
    Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light Farish is a glorious beacon of light

      0  

    Default


    the data is always only in the store. the grid just provides a view for the store data. its not clear to me what is not working and what you want to do. Could you explain it a little more please?

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    gpbm is on a distinguished road

      0  

    Default


    I wrongly assumed that a grid object would let me get at grid data. My intention was to let the user configure the checkboxes in the grid as desired, and make only one call to save/update the store.

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