View Full Version : How Do I add a Menubar with Ext Designer?

17 Jun 2010, 8:00 PM

Sorry for the noob question,

How Do I add a menu bar in Ext Designer?

You know the usual file, edit, help menu across the top of the page?

- Jack

18 Jun 2010, 8:36 AM
You can add a Toolbar to a Panel for example, and then add some Buttons to the Toolbar. Does that answer your question?

18 Jun 2010, 12:26 PM
I don't really want a menubar with a bunch of buttons on it.
Does the ExtJS framework support a conventional menu such as this:



19 Jun 2010, 7:18 PM
Of course. See the Toolbar and Menu as a place to start. You can build any type of menu you want, with icons, etc.


19 Jun 2010, 7:27 PM
Looking at the examples, it looks like each menu is essentially a button at the code level?

IE If I want a File, Edit and About menu, do I start by adding 3 buttons to a toolbar, or is there another container that will just hold the menu?

Thank you for your help.

- Jack

21 Jun 2010, 3:16 AM
You are correct, they are buttons. From there, you can "attach" a menu to a button, and attach sub-menus to menu items, and so on and so forth. But at the root, you have a Toolbar with buttons.