search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Angular 2 scheduler loaded in a dynamic component

Asked by Julien
1 year ago.

Hi, I'm trying to load a scheduler within a dynamic component in Angular 2 but I'm experiencing problems to get events showing in my scheduler.

I'm not really sure what's going on but it could be some trouble related to change detection.

Did your team already try to make such thing? If yes, could you provide me please some basic example that I could use.

Comment posted by Dan Letecky [DayPilot]
1 year ago.


Could you please post a code sample that would outline what you are trying to achieve?

Also, are the missing events the only problem (I assume the Scheduler displays fine)?

Comment posted by Julien
1 year ago.

Hi Dan, I'll generate some exampe based on one of your angular 2 samples in next days.

To explain quickly, we use a lot dynamic components provided by Angular 2 ( Our app is complex so I'll try better to reproduce on a simple case and eventually I could send you some ZIP file or put that on some github account.

Comment posted by Dan Letecky [DayPilot]
1 year ago.


Such an example would be great as it would help to reproduce the issue and also to verify the fix. Thanks!

Comment posted by Julien
12 months ago.

Hi Dan,

I just created an example. It is based on last version of Ionic 2, Angular 4 and last build of DayPilot and it works perfectly (

Since our app is using Ionic 2, Angular 2 and some older build of DayPilot and is way more complicated (other pieces of code could interfere), I won't spend more time for our specific case, specially because we also plan to migrate to last Angular version soon.

This question is more than 6 months old and has been closed. Please create a new question if you have anything to add.