Hi,
is it possible to use minicalendar and templates (for example: agenda view). I use sample samples/05_calendar/04_layout.html. This sample uses dhtmlylayout to place the minicalendar and scheduler in the right way. This is all fine. But I find no way to add agenda tab. The following doesn’t work.
[code]
<div class="dhx_cal_tab" name="agenda_tab" style="right:280px;"></div>[/code]
Thanks for yout help.
Best regards
Mathias
You need to include
ext/dhtmlxscheduler_agenda.js
Minical can work with any extensions of scheduler, there are no limitations.
Hello Stanislav,
thanks for your fast answer. I use the js library for agenda view. The following way works but only without agenda template:
[code]
[/code]
Insert scheduler using dhtmlxlayout
layout.cells("a").attachObject("main_frame");
layout.cells("a").hideHeader();
layout.cells("b").hideHeader();
layout.cells("b").attachScheduler();
Now i’m trying to set the template:
[code]
[/code]
It doesn’t work. The whole layout is broken.
Best regards
Mathias
Problem confirmed.
When attachScheduler method is used, it creates scheduler from default html template, not from the one on the page. As for now the only way to add agenda tab for your scheduler is through modification of dhtmlxcontainer.js, there you can locate attachScheduler method, and inside it the next line
obj.innerHTML = ‘<div id="’+obj.id+’" class=“dhx_cal_container” style="width:…
in that line scheduler’s template is stored. Adding html element for agenda in that line will change layout is it necessary in your case.