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

    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 User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,734
    Vote Rating
    122
    Answers
    130
    tobiu is a splendid one to behold tobiu is a splendid one to behold tobiu is a splendid one to behold tobiu is a splendid one to behold tobiu is a splendid one to behold tobiu is a splendid one to behold

      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