PDA

View Full Version : tbar&xtype: #help



koko2589
15 Feb 2012, 2:27 PM
can i put html inside tbar?
demo
http://itoto4.com/index3.html


(http://itoto4.com/index3.html)

skirtle
15 Feb 2012, 3:24 PM
HTML to do what? There are many different options. For example, you could put it in the toolbar items as a component:


{
html: ...,
xtype: 'component'
}

Or if the HTML is really simple you could just roll it into a text item:


tbar: [
'some HTML'
]

koko2589
15 Feb 2012, 9:59 PM
i want to put baner