Multiple calendars on the same page
See original GitHub issueI have two calendars on one page and my task is to show the Save All button above each one of them when calendar events are dragged inside. I’ve made component having Save All button with *ngIf
condition and <ng-fullcalendar>
with (eventDrop)="onEventDropOrResize($event)"
.
Dropping the calendar event in the second calendar triggers the onEventDropOrResize()
method in the first component and the Save All button shows always in the first component. While debugging, $event.srcElement
and $event.target
are both pointing to the first <ng-fullcalendar>
DOM element. I’ve tried with other events, i.e. eventClick()
and the event always triggers the first component’s listener method.
Is there a quick workaround for this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
View multiple calendars at the same time - Microsoft Support
View multiple calendars at the same time ; Open a calendar in a new window · Click Open in New Window. ; Overlay...
Read more >How to view multiple calendars at the same time in Outlook
These are shortcuts: Click the left arrow on the calendar to the right in side-by-side view to overlay the two calendars. With the...
Read more >Outlook: view multiple calendars side by side or in overlay mode
It is quite easy to view multiple calendars side by side in Microsoft Outlook. Step 1: Firstly, please shift to the Calendar view...
Read more >Multiple Calendars on the same page - WordPress.org
You can create pages with each one containing a different calendar of events using shortcodes, but this feature is only available on the...
Read more >Set multiple calendar view with Overlay feature in Outlook
View multiple calendars at the same time.You can see multiple calendars at the same time side-by-side or combined into a stacked overlay ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Jamaks How can I initialise two instances of calendar on same page? I cannot find from documentation. Currently by default if I try to add two calendars they all have same Id.
I guess you’ll have to add jQueryUI into ng2 project or maybe try some other ng2 draggable package first.