Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8543417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:17:48+00:00 2026-06-11T12:17:48+00:00

I’m creating a seemingly simple dojo 1.8 web page which contains an app layout

  • 0

I’m creating a seemingly simple dojo 1.8 web page which contains an app layout div containing a tab container and an alarm panel below the tab container. They are separated by a splitter so the user can select how much of the alarms or the tabcontainer they want to see.

Here’s the example on jsfiddle:

http://jsfiddle.net/bfW7u/

For the purpose of the demo, there’s a timer which grows the table in the alarm panel by an entry every 2 seconds.

The problem(s):

  1. If one doesn’t do anything and just lets the table grow, no scroll bar appears in the alarm panel.

  2. If one moves the splitter without having resized the browser window first, the splitter handle ends up in a weird location.

  3. Resizing the browser window makes it behave like I would expect it to begin with.

Questions:

  1. Am I doing something wrong in the way I’m setting things up and that’s causing this problem?

  2. How can I catch the splitter has been moved event (name?)

  3. How do I resize the splitter pane to an arbitrary height? I’ve tried using domStyle.set(“alarmPanel”, “height”, 300) and this indeed sets the height property… but the pane does not resize!

Any help greatly appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:17:49+00:00Added an answer on June 11, 2026 at 12:17 pm

    I forked your jsFiddle and made some modifications to it: http://jsfiddle.net/phusick/f7qL6/

    1. Get rid of overflow: hidden in html, body and explicitly set height of alarmPanel:

      .claro .demoLayout .edgePanel {
          height: 150px;
      }
      
    2. This tricky one. You have two options: to listen to splitter’s drag and drop or to listen to ContentPane.resize method invocation. Both via dojo/aspect:

      // Drag and Drop
      var splitter = registry.byId("appLayout").getSplitter("bottom");
      var moveHandle = null;
      
      aspect.after(splitter, "_startDrag", function() {
          moveHandle = aspect.after(splitter.domNode, "onmousemove", function() {
              var coords = {
                  x: !splitter.horizontal ? splitter.domNode.style.left : 0,
                  y: splitter.horizontal ? splitter.domNode.style.top : 0
              }
              dom.byId("dndOutput").textContent = JSON.stringify(coords);
          })
      });  
      
      aspect.after(splitter, "_stopDrag", function() {
          moveHandle && moveHandle.remove();
      });
      
      
      // ContentPane.resize()   
      aspect.after(registry.byId("alarmPanel"), "resize", function(duno, size) {
          dom.byId("resizeOutput").textContent = JSON.stringify(size);
      });    
      
    3. Call layout() method after changing the size:

      registry.byId("alarmPanel").domNode.style.height = "200px";                
      registry.byId("appLayout").layout();
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Seemingly simple, but I cannot find anything relevant on the web. What is the
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Basically, what I'm trying to create is a page of div tags, each has
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
I'm making a simple page using Google Maps API 3. My first. One marker
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am trying to understand how to use SyndicationItem to display feed which is
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.