1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    33
    Vote Rating
    0
    mescalito2 is on a distinguished road

      0  

    Default How to use an store within a Container

    How to use an store within a Container


    Hi there!

    I'm using Sencha Architect 2.1

    I have an Store and a Ext.Container with a template, but how can I render the data in the store using the container and the template?

    I created a 1 minute video explaining the problem:
    http://www.youtube.com/watch?v=_HpR9h80D94

    Thanks!

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,182
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    hey mescalito2 -

    tpl and data configurations go together. There is no automagic data binding that happens here. Each time you want to update the data you can call setData.

    It sounds like what you are really looking for is a DataView. A DataView binds a store with an itemTpl for each record. The DataView is configured with an itemSelector which tells it how to map the record to a DOM node and vice versa.
    http://docs.sencha.com/touch/2-1/#!/...aview.DataView
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1

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