Login Register

BorderContainer

(Solved) Grid Layout using BorderContainer and ItemFileReadStore issue

I posted the same issue while ago, now I am using Dojo 1.1.1. But this problem still exists. Grid layout using BorderContainer works fine if I don't load the data from ItemFileReadStore. However, if I load the data from ItemFileReadStore, the Grid is blank. Any ideas would appreciated.

Thanks a lot.

Solved: It was the stylesheet problem.

Basic BorderContainer Functionality

It would seem that I don't fully understand the way BorderContainer is suppose to function. I've boiled down my code to what I hope is a short enough example. First the code, then I'll note the issues I am having with this test case.

@import "dojo/dijit/themes/tundra/tundra.css";
@import "dojo/dojo/resources/dojo.css";

 

dojo.require("dojo.parser");
dojo.require("dijit.layout.ContentPane");

dijit.layout.BorderContainer doesn't look right

I've been playing with this dijit.layout.bordercontainer for a while now, why is this so difficult?

Ultimately, I'm trying to set up a calendar layout which takes up the entire screen. If I have to use a fixed width, that is ok, too. For now, though, I'm just trying to make a very simple bordercontainer. Here is my code so far, why does this display so ugly?

EBS Portal - ControlM Calendar

Adding a splitter to a BorderContainer

Hi,

I'm trying to add a vertical splitter between the center and right/trailing sections of a BorderContainer (or between any of the outer panels and the center panel). Unfortunately, no matter what I do, I can't get one to appear.

My understanding is that if I do the following, I should get a splitter that I can drag around:

1. Create the BorderContainer
2. Add a ContentPane to each of the 5 regions of the BorderContainer.
3. Set splitter="true" to one of the outer ContentPanes (eg to the trailing pane).

Dojo 1.1 BorderContainer and ItemFileReadStore don't work together, bug?

Hi,

I am using test_grid_layout_borderContainer.html under dojox/grid/tests as starting point. test_grid_layout_borderContainer.html works fine without any modifications. However, if I changed the data store with ItemFileReadStore, there is no data showing up but a red background color. Is this a bug or I am missing something?

Code as below:

Test dojox.Grid Editing

@import "../_grid/tundraGrid.css";
@import "../../../dojo/resources/dojo.css";

issues rendering TitlePane inside BorderContainer1.1

Has anyone tried to render a TitlePane inside a BorderContainer. When I try to do so, TitlePane does not appear. Here is the code snippet that I tried. Is there an issue with BorderContainer?

The rain in Spain falls mainly on the New York Stock Exchange.

HOWTO: a nice way to load dojo pages in a TabContainer

we want few words and more code...

index.html

index

 

dojo.require("dojox.layout.ContentPane");
dojo.require("dijit.layout.TabContainer");

Migrating to border container

Hi,

In the past I had two ContentPanes in the same LayoutContainer with region=center, I would show and hide them to display a loading graphic. With the new BorderControl it seems that this does not work, I assume that only one ContentPane can be center.

The code I have is:

...
...

Border Container and Tab Container

Hi,

The AccordionContainer has a region property and can be positioned in the five regions of the BorderContainer. However, the TabContainer seems to have no positioning property as far as the BorderContainer is concerned. Basically, it always appears on top. Is this true or is there another way to position the TabContainer in a BorderContainer? If true, will the TabContainer be provided with the region property in the near future. That would be really helpful.

So far - the 1.1b3 release I am working with seems to be feature rich and consistent.

Looking good guys,

John

Create BorderContainer programmatically

Hi,
I try create BorderContainer programmatically with this way:

document.body.appendChild(node); // necessary for tab contianer ???
node.style.cssText = "border: 2px solid black; width: 90%; height: 300px; padding: 10px;";
var bc = new dijit.layout.BorderContainer({design: "sidebar"},node);

var node = document.createElement("div");
document.body.appendChild(node);
node.style.cssText = "background-color: #b39b86; height: 100px;";
var widget = new dijit.layout.ContentPane({region: "top", splitter: "true"},node);
bc.addChild(widget);

Syndicate content