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
    253
    Vote Rating
    26
    themightychris will become famous soon enough themightychris will become famous soon enough

      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
    Co-founder @ Devnuts - Philadelphia Hackerspace

Thread Participants: 1