Questions tagged [dijit.layout]

125 questions
5
votes
1 answer

Dojo: BorderContainer - Toggle the left sidebar pane width to 0

I have a BorderContainer {design: "sidebar"} with a AccordionContainer {region: "left"} in the left pane. The Splitter is enabled to allow dragging the AccordionContainer 'closed', but with the splitter still available at the left edge to drag it…
Adamarla
  • 739
  • 9
  • 20
5
votes
1 answer

dijit/layout/ContentPane on resize end?

I am now using dojo 1.8.3 and now have a BorderContainer with 2 ContentPane on my page. I would like to listen the resize event, the code like this dojo.ready(function(){ dojo.connect(dijit.byId("Container"), "resize", function(changeSize,…
Steve Lam
  • 499
  • 1
  • 10
  • 27
4
votes
4 answers

Dijit Tabcontainer inside a custom widget-Tablist width runs too long

I have a templated custom widget that inherits from dijit.layout._LayoutWidget, dijit._Container, and dijit._Templated which gives my widget native Widget support for resizing, etc. All I need is a TabContainer, which is sized to the size of widget.…
nvd_ai
  • 1,060
  • 11
  • 20
4
votes
2 answers

Dgrid Resizing within BorderContainer

I have a dgrid within a BorderContainer with "liveSplitters" enabled (using Dojo 1.8). The dgrid comes up nicely, but when I move the splitter between the left column and the "leading" column (that the dgrid is within), the dgrid does not properly…
Timothy R. Butler
  • 1,097
  • 7
  • 20
3
votes
1 answer

How to optimize Dojo loading time?

I'm working on a business application built upon PHP & Dojo tool kit. The interface is similar that you see on dojo dijit theme tester. On internet it takes lot of time to load all those js one by one.. I want to know what is the best technique…
Krunal
  • 2,967
  • 8
  • 45
  • 101
3
votes
4 answers

Dojo/Dijit TitlePane

How do you make a titlePane's height dynamic so that if content is added to the pane after the page has loaded the TitlePane will expand?
Robert Johnstone
  • 5,431
  • 12
  • 58
  • 88
2
votes
1 answer

How to scroll to a certain element in dojo contentPane programatically

I have a ul list of 100+ li elements displayed inside dojo.contentPane which is displayed in a custom dialog which extends dojo dialog. When this contentPane is rendered, I would like scroll bar to automatically slide to nth li element. How can I do…
Sachin
  • 21
  • 4
2
votes
1 answer

How to implement Vertical layout

Is there a way to implement vertical layout using Dojo/Dijit? I don't like BorderLayout because of the splitters.
user666491
2
votes
1 answer

Need help laying out a site with dojo

basically guys i will like to layout a website with dojo where by i will have a header, content area ( this is divided in two with some accordions in the left pane and the right for the main content) then a footer. since i need the site to always…
Napoleon
  • 879
  • 2
  • 14
  • 36
2
votes
0 answers

GoJS Interaction being repeated, should only occur once

When profiling an interaction of GoJS within my Dijit-heavy application, I'm seeing the same user-interaction stack over and over - this causes the UI to hang for about 10 seconds. .expandSubGraph should only be called a single time, as it is a…
Fedoranimus
  • 816
  • 6
  • 20
2
votes
4 answers

How do I "get" the ID for a "clicked" tab in a dijit.layout.tabcontainer?

I haven't been able to find a clearly defined solution for this. Most are incomplete snippets. Here is a simple sample. See the doSomething() comment: