Results 1 to 2 of 2

Thread: ListView component inside Xtemplate/tpl of Panel in ST2

  1. #1
    Sencha User senchaSaurav's Avatar
    Join Date
    Feb 2012
    Bangalore, India
    Vote Rating

    Default ListView component inside Xtemplate/tpl of Panel in ST2

    Hi ,
    I am using ST 2.0.0 version
    I want to have List View component in tpl/ XTemplate.
    I want to wrap it by div tag. How can I do it using ST2?
    Any example is there?

  2. #2
    Sencha Premium Member
    Join Date
    Apr 2008
    Vote Rating


    No need to use a tpl, ListView (as well as any component) is already wrapped in a <div> tag for you. You can put that inside a container if you need another <div> around it
    Chief Architect @ Innovations
    Co-captain @ Code for Philly

    Jarvus builds and optimizes top-quality Sencha Touch and ExtJS apps for open-source projects and clients of all sizes.

    Don't waste time with bugs that have already been found and fixed by the community, compile our tried and tested hotfixes packages into all your projects:

Posting Permissions

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