I have a project where I’m implementing widgets to display different views of the scheduler. Is there a smart method to display only the month (view) template without the the other buttons (i.e. navline HTML elements) in a smaller window/screen size? Also is there an existing method to grab a specific day in the month grid/view? Attached is an example of what I am trying to achieve.
Hello.
To hide navigation area you could try to define following css rule.
.dhx_cal_navline{
display: none;
}
And set nav_height “xy” config to 0.
See article: docs.dhtmlx.com/scheduler/api__s … other.html
scheduler.xy.nav_height = 0;
Unfortunately, currently there is no easy way to get day from month view.
Possibly in your case you could try to use Agenda or Grid view.
See articles:
docs.dhtmlx.com/scheduler/agenda_view.html
docs.dhtmlx.com/scheduler/grid_view.html
Hi,
since there is no API for rendering individual month cells and the layout is pretty simple (a couple of stacked divs), probably it is easier to implement such widget by hand instead of customizing a scheduler.
If you have dhtmlxscheduler.js on the page, you’ll be able to use scheduler.date helper for parsing and formatting dates. As for the rest part of scheduler - i think for this task it will bring unnecessary complexity