Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Location
    Seattle, WA
    Posts
    137
    Answers
    2
    Vote Rating
    1
      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,747
    Answers
    130
    Vote Rating
    129
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •