Threaded View

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

Thread Participants: 1