Login Register

collapsible

How to build a collapsible menu using dijit.Tree

I had a page where I wanted to create a collapsible navigation menu and wanted to learn about the dijit tree widget. I’m pretty happy with the result. Note that I removed the branches and icons associated with the tree to give it a cleaner look. Is this a misuse of the tree widget? Probably, but it does result in a pretty slick menu that is easily maintainable since the hierarchy is stored in a json data file.

Can LayoutContainer's bottom section be collapsible?

I'm attempting to create a layout that has a pane at the bottom that expands up in to the client space, but I'm having problems. I've tried an Accordion and TitlePane (which I didn't really feel would be correct) and neither has produced the desired result. Is this something where I should be looking to create a custom widget? It seems over the top to me. I know other libraries have this feature, maybe BorderLayout will at 1.1? Although I'd rather not wait till then. Any direction would be appreciated.

Syndicate content