PDA

View Full Version : Menus without Toolbar?



dizz
5 Jun 2007, 8:13 PM
Hello all,

First I would just like to say that I started with Extjs today and can't be happier, this is a great framework with great docs.

I have a few questions, first is it possible to have some sort of menu without a toolbar for it to drop down from? I have built a layout with a left column that I would like to use for navigation and I am trying to find the best solution. (I could also use the tree component I guess)

Second quick question: Is it possible to add a form to a dialog box and if so can someone point me in the right direction?

Thanks in advance.

brian.moeskau
5 Jun 2007, 9:21 PM
Both are possible. For the menu, you'll have to customize some things, but I believe there's already a well-developed example that someone else came up with (Animal maybe?). For the form in a dialog, have you looked into using a LayoutDialog? It is a BasicDialog that supports layouts, and you can add a form directly into a layout.

I believe there are examples of both of those in the forums if you search. I don't recall the exact threads, but I think there here somewhere. You might also try the custom Google search (http://google.com/coop/cse?cx=011693920879787039234%3Az7of1ufqccu) if the built-in search doesn't help.

Animal
5 Jun 2007, 11:00 PM
Take a look at this code:

http://extjs.com/forum/showthread.php?t=2774&page=7&

See if it works for you with orientation:vertical