PDA

View Full Version : ListView component inside Xtemplate/tpl of Panel in ST2



senchaSaurav
2 May 2012, 12:32 PM
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?

themightychris
3 May 2012, 7:15 AM
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