How can I install timeline extension for scheduler in Angular

I already added DHtmlx Scheduler Pro in my Angular app following this guide: https://docs.dhtmlx.com/gantt/desktop__install_with_bower.html#addingprofessionaleditionintoproject .

I have dhtmlxscheduler_timeline.js in schedulerDirectory/ext, but I cannot make it work.

Error: core.js:6479 ERROR TypeError: scheduler.createTimelineView is not a function

How can I add extensions in Dhtmlx Angular?

Thx

Hello @gentaliti ,

You can add the extension as a script or using import in the scheduler.component file, as follows:

import "*path*/dhtmlxscheduler_timeline.js";

Example for the evaluation:

import 'dhtmlx-scheduler-evaluation';
import 'dhtmlx-scheduler-evaluation/codebase/ext/dhtmlxscheduler_timeline.js'

Screenshot:

If the problem still will persist, could you please send me a demo with all necessary files, which I will be able to run locally and reproduce the issue?

Kind regards,

Works fine now. Thanks