Hybrid View

  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 Premium Member tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,695
    Vote Rating
    114
    Answers
    130
    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


    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
    __________

    S-CIRCLES Social Network Engine

Thread Participants: 1