Threaded View

  1. #1
    Sencha User
    Join Date
    Apr 2013
    Vote Rating
    juworld is on a distinguished road


    Default Answered: List - how to bind to a subfield in the store

    Answered: List - how to bind to a subfield in the store

    Hi All!

    New to touch! Love it so far!

    I have this question regarding how work around store.

    So I have this "question" object from JSON that reads like this:

    PHP Code:
    "question":"Is the position a manager position?",
    "text":"A managerial position"},
    "text":"An skilled\/specialized position"}]

    The store, I set the root property to responseData.decision. This way I can access to question, type, and choices.

    However, in the View, I want to to have a list that is bind to choices.

    PHP Code:
    Ext.define('GS.view.GetStarted', {


    config: {
    title'Get Started',

    items: {

    title'Let\s get started!',


    // I want to bind to choices

    But, this approach is obviously wrong… because in the browser, I see [object Object],[object Object]. Please advice!

    Thanks in advice!!!


  2. Hi all!

    One solution that I came up with is the need of 2 stores. I need a store to load my decision object and another store to load my "choices".

    I came across this site: that shows how to load multiple stores with one json call (I don't think I would want to call the same JSON twice =P).

    That fixed it!



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..." hd porno faketaxi