1. #1
    Sencha User
    Join Date
    Mar 2010
    Location
    Seattle, WA
    Posts
    137
    Vote Rating
    1
    Answers
    2
    wprater is on a distinguished road

      0  

    Default Answered: How to render a Model Record in a Panel using itemTpl

    Answered: How to render a Model Record in a Panel using itemTpl


    We used to have itemTpl which could be used on an Ext.Panel to render config.data using an XTemplate. There is no longer an itemTpl config to render in a Panel.

    Are we supposed to use a DataViewItem rendered inside a panel if we wish to render a Record to a template within a panel?

    Advice is appreciated.

    Thanks.

  2. panel has no itemTpl config. did you try:
    http://docs.sencha.com/touch/2-0/#!/...ponent-cfg-tpl
    ?

    if you want to visualize a list of records, dataview is the way to go.

  3. #2
    Sencha - Services Team tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,292
    Vote Rating
    6
    Answers
    57
    tobiu will become famous soon enough

      0  

    Default


    panel has no itemTpl config. did you try:
    http://docs.sencha.com/touch/2-0/#!/...ponent-cfg-tpl
    ?

    if you want to visualize a list of records, dataview is the way to go.
    Best regards
    Tobias Uhlig
    __________


    Sencha Inc
    Tobias Uhlig, Solutions Engineer

    Private Projects:

    S-CIRCLES Social Network Engine
    Commercial Theming for Ext JS 3 & 4