search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Display DayCalendar without Navigator or Tabs

Asked by David
4 years ago.

Client asked for a report that showed the dayCalendar (week) with events but no Navigator or Tabs (for Day/Week/Month). I created a view with the dayCalendar, but it would only show the current day rather than the selected timeframe. I discovered that a navigator and tabs were necessary, but it DID work to include them on the page but in a div with style of display:none:
<div style="display:none;" >
With javascript:
<script type="text/javascript">
var switcher = new DayPilot.Switcher();
switcher.addButton("toolbar_week", dp_week);
switcher.addNavigator(dp_navigator);
switcher.select(dp_week);
switcher.show(dp_week);
</script>

This question is more than 6 months old and has been closed. Please create a new question if you have anything to add.