Login Register

splitter

borderContainer with 2 contentpane & splitter --> to hide and show one contentpane instead of resize

[EDIT: moved to the appropriate forum.]

I am using a borderContainer with two contentpanes with splitter true. I would like to hide and show one of the contentpane instead of resize.

Any pointers would be of great help.

Raaj

BorderContainer - detecting change

I have set up two side-by-side ContentPanes within a BorderContainer, with a splitter between. I am trying to figure out how to detect when the user moves the splitter.

I've looked in the Book and API documentation, but haven't found what I'm looking for. I realize this is a simple question, but I'm new to Dojo and still learning how to find my way around. Any help or pointers would be appreciated.

Thanks

ETA: I should clarify, that I AM working with the dojo.connect method. However, since the splitter is created by Dojo I'm not sure how best to reference it.

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).

Syndicate content