Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by O. Esner on Dec 11, 2009 02:02
open dhtmlx forum
Scheduler in parent div

Hello,

my jsp decorator creates the following code:

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

        <div class="dhx_cal_navline">
            <div class="dhx_cal_prev_button"> </div>
            <div class="dhx_cal_next_button"> </div>
            <div class="dhx_cal_today_button"></div>
            <div class="dhx_cal_date"></div>
            <div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
            <div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
            <div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
        </div>

        <div class="dhx_cal_header">
        </div>
        <div class="dhx_cal_data">
        </div>
    </div>
</div>
</div>

In this case, scheduler is not rendered (there are elements on the page, but not visible). If I try to render scheduler without jsp decorator (it means without 'content' and 'mainbar' div tags), calendar is rendered correctly.

Does anybody know how to fix this problem? I can't disable decorator for this page.

Thank you for reply.
Answer posted by Alex (support) on Dec 11, 2009 04:38

Hello,

please check that "scheduler_here" occupies desired area on your page. Possibly some styles are applied to "content" and "mainbar" containers that don't allow to show "scheduler_here" container.