Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tys von Gaza on Dec 01, 2009 12:14
open dhtmlx forum
Scheduler month view rendering with scrollbar

First off, fantastic javascript library, very impressed.

I'm running into a small issue with the month view. I'm trying to get the scheduler working inside a page, it can't be full screen. The day view and the week view are working correctly, but the month view doesn't seem to be working properly. I have some extra margin on the top, which causes there to be a scroll bar which then causes the month day widths to be all a bit off.

I've attached a screen shot.

http://dl.dropbox.com/u/2402735/Screen%20shot%202009-12-01%20at%201.10.53%20PM.png

Thanks,
Tys
Answer posted by Stanislav (support) on Dec 02, 2009 01:22
Do you have any padding or margins on scheduler's container?
Answer posted by Tys von gaza on Dec 10, 2009 18:08
The immediate container does not have anything.

Here is my dom:

<div id="content">
  <div style='width:100%; height:600px;'>
    <div id="scheduler_here" class="dhx_cal_container" style='width:100%; height:100%;'>

Css Class for content:

float: left;
font-size
: 1.1em;
margin
: 40px 0px;
width
: 100%;

I tried adding 0 margin's to the immediate parent.  Removing the margins on the content div didn't make any difference either.

Tys
Answer posted by Tys von gaza on Dec 10, 2009 18:18
Did some more digging, found it!

Thanks,
Tys