The hide() method hides the calendar component by applying display:none style.
DayPilot.Calendar.hide();