PDA

View Full Version : How to use extjs splitbutton in xtemplate



sujeetkr
4 Aug 2012, 3:20 AM
Hi,
How to add extjs split button in xtemplate and add listeners for splitbutton?

tobiu
5 Aug 2012, 11:47 AM
XTemplate no, since it only accepts html markup. Well, you could put in the markup for the splitbutton manually, but...

So, the trick is to use a container (div) and render a framework component into it.

Take a look at this very useful implementation:
http://skirtlesden.com/ux/ctemplate