View Full Version : HTML Tag -> create Components

23 Jun 2010, 11:32 PM

I just wondered if ExtJs has a possibility to create Components in HTML code with special Tags or Attributes (like programmatic/declarative in Dojo Toolkit).

There's ExtTLD for JEE users but is there also a solution for HTML/JS?

Thanks, eztam!

24 Jun 2010, 1:06 AM
No there isn't, but Ext does support applyTo, which can transform existing elements into Ext.Components.

- For Ext.Panel you can specify header, bwrap, tbar, body, bbar and footer separately by assigning the correct class.
- For Ext.TabPanel you can specify the separate tabs by using autoTabs.
- For Ext.ComboBox also supports transform besides applyTo.