Show events in the regular way - not working


#1

Hello.

I’m on an Angular Project and I want to show my events in the regular way in my scheduler with the week view.

I use these parameters:
this.scheduler.config.multi_day = true;
this.scheduler.config.all_timed = true;

But, it doesn’t work. My events are always placed as lines in the upper part of the scheduler.
Can you help me, please ?

Have a nice day !


#2

Hello @RemiH ,

Did you include the all_timed extension to your app?
https://docs.dhtmlx.com/scheduler/extensions_list.html#alltimed

As provided configs won’t work without it, here is an example(HTML/CODE tabs):
http://snippet.dhtmlx.com/5/938f4644f

If you already included the extension, and the issue still exists, could you please provide a simplified demo, which I will be able to run locally and reproduce the issue?

Kind regards,


#3

Thank you @Siarhei for your answer.

I thought it wasn’t necessary for an Angular project. Yet, I found this dependency, but how to get it on my project?
Do I have to add a Node dependency?

<script src="../codebase/ext/dhtmlxscheduler_all_timed.js"></script>

#4

It’s good, it works !! To add an extension in an Angular project, you have to do as below.

import 'node_modules/dhtmlx-scheduler-ultimate/codebase/ext/dhtmlxscheduler_all_timed';