Hybrid View

  1. #1
    Touch Premium Member
    Join Date
    Oct 2011
    Posts
    37
    Answers
    1
    Vote Rating
    1
    rfox is on a distinguished road

      0  

    Default Unanswered: Set a Combobox's store to a models association store?

    Unanswered: Set a Combobox's store to a models association store?


    Given a model with an association eg,

    "User has many Posts"
    Code:
    user.posts()//store of users posts
    In a grid panel i can do:
    Code:
    grid.reconfigure(user.posts())
    to bind the grid to display that data.

    How can i achieve the same effect with a combobox?

    I've looked for .reconfigure, .load, .setStore but cant actually find anything that allows for setting the box to a store after the view file has been loaded.

    Thanks

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    hmm, easiest way could be to just clear the data of the combo store and fill it with the new records.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

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