1. #1
    Sencha User senchaSaurav's Avatar
    Join Date
    Feb 2012
    Location
    Bangalore, India
    Posts
    41
    Vote Rating
    0
    senchaSaurav is on a distinguished road

      0  

    Default ListView component inside Xtemplate/tpl of Panel in ST2

    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
    Posts
    266
    Vote Rating
    28
    themightychris has a spectacular aura about themightychris has a spectacular aura about

      0  

    Default


    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 @ Jarv.us 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: https://github.com/JarvusInnovations/sencha-hotfixes

Thread Participants: 1