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

ERROR Error: DayPilot.Scheduler: The placeholder element not found: 'dp_158159830263098078'.

Asked by Vlad
15 days ago.

If I want my daipilot sheduler to appear dynamically when I press a button, what do I need to do?
Because now I get an error

Answer posted by Dan Letecky [DayPilot]
14 days ago.

You can use *ngIf on the <daypilot-scheduler> element:

<daypilot-scheduler [config]="config" [events]="events" #scheduler *ngIf="visible"></daypilot-scheduler>

You can also create the component dynamically using createComponent():
https://code.daypilot.org/28800/how-to-create-the-angular-scheduler-component-dynamically

Comment posted by Kate
11 days ago.

Thank you

New Reply
This reply is
Your name (optional):