Hi,
I have dhtmlx scheduler for to-do tasks and I want to add custom view ‘List’. It’s simple to add tab like this:
But I need custom content for this tab without scheduler like this:
Is it possible to do this using built-in API?
Hi,
I have dhtmlx scheduler for to-do tasks and I want to add custom view ‘List’. It’s simple to add tab like this:
But I need custom content for this tab without scheduler like this:
Is it possible to do this using built-in API?
Hello,
Please try to implement it in one of these ways:
use private api to display in the view various content you need. As an example, you can take source code of Agenda view:
github.com/DHTMLX/scheduler/blo … da_view.js
or don’t use api at all on button “List” click. Instead, show your content over the Sheduler data-area. That is, you caught a click on the “List” - show content over of the calendar. When the user pressed a different view button - hide this custom content.
Thanks,
I decide to use built-in Agenda view. I’ve added agenda view like described in docs, but when I click on Agenda tab I get the following error:
dhtmlxscheduler.js:1273 Uncaught TypeError: this.templates[(this._mode + "_scale_date")] is not a function
at Object.scheduler._render_x_header (dhtmlxscheduler.js:1273)
at Object.scheduler._render_scales (dhtmlxscheduler.js:1313)
at Object.scheduler._reset_scale (dhtmlxscheduler.js:1334)
at Object.scheduler.update_view (dhtmlxscheduler.js:1235)
at Object.scheduler.updateView (dhtmlxscheduler.js:1264)
at Object.scheduler.setCurrentView (dhtmlxscheduler.js:1266)
at HTMLDivElement.dhx_cal_tab (dhtmlxscheduler.js:936)
Agenda view has no scale_date templates. So there is a strange callstack in error.
I use dhtmlxScheduler v.4.4.0 Professional Evaluation and multiple instances of dhtmlx sxheduler
Any ideas?
Hello,
Seems like you didn’t include the Agenda code file on the page:
Please, check it.