dhtmlxScheduler - dhx_cal_navline

Is it possible to not use the dhx_cal_navline component, so only the header and data sections display? Is it possible to hide the dhx_cal_date and dhx_cal_tab elements? My attempts to make these invisible or remove them causes the calendar to no longer render. I know that setCurrentView is parsing the meaning of “week” by looking at the name of the dhx_cal_tab, but it seems like there should be a way to hide it if there is only one calendar view allowable to the user.

Is it by design that the scheduler variable is not set before dhtmlXScheduler.templates.day_date is called to populate the calendar’s display header? This prevents users from leveraging that information in deciding what information to display. (For example if you have the day columns say Day 1, Day 2, Day 3, etc it would be nice to display �Day 1 - Day n�). A work around would be to call setCurrentView a couple of times, but it seems like there should be a cleaner way.



>>Is it possible to not use the dhx_cal_navline component,
Add next line to scheduler initialization
And change next line inside the html template
<div class=“dhx_cal_navline” style=‘display:none;’>

All header-date templates (day_date, month_date, week_day ) receive two parameters
- date of period start
- date or period end
default template use only first one, but you can use both if need to show an interval data

If you mean “scheduler._min_date” suggested in one of previous answers - later version of dhtmlxscheduler.js ( was attached to previous answer ) , already has correction, which makes such info available before template execution.