question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

External events (Angular version) - timeGridPlugin

See original GitHub issue

I followed the demo with external events mentioned in https://github.com/fullcalendar/fullcalendar-angular/issues/192 and it works fine. But I wanted to add other views to calendar - especially I wanted to use timeGridPlugin (to have “Week” and “Day” view). I added required import to app-components.ts import timeGridPlugin from '@fullcalendar/timegrid';

I extended options like below:

    this.options = {
      (...)
      header: {
        left: 'prev,next today myCustomButton',
        center: 'title',
        right: 'dayGridMonth,**timeGridWeek,timeGridDay**'
      },
     (...)
      plugins: [dayGridPlugin, interactionPlugin, **timeGridPlugin**]
    };

The result is that I see additional buttons on Calendar - but dragging external events stopped working…

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mstopczykcommented, Jul 17, 2019

I think this is something else. I run the same code on my stand-alone application (locally, without stackblitz) and I have the same situation…

0reactions
acerixcommented, Jul 8, 2020

Sorry for the delay in responding to your issue, I have just begun triaging on this repo.

I believe the issue is that daygrid/main.css is not getting included. I wasn’t able to get it working in your demo but get the same result if I remove that CSS from the drag and drop demo:

https://codepen.io/acerix/pen/JjGvJoy?editors=001

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 5 @fullcalendar/interaction Code Examples - Snyk
To help you get started, we've selected a few @fullcalendar/interaction examples, based on popular ways it is used in public projects. ; it('should...
Read more >
Getting Data from event in FULLCALENDAR with angular
In fullCalendar your custom event data is in the "extendedProps" property updateDates(info) { let yourData = info.event.
Read more >
@fullcalendar/timegrid | Yarn - Package Manager
FullCalendar Time Grid Plugin. Display events on time slots. Installation. Install the necessary packages: npm install @fullcalendar/core @fullcalendar/timegrid ...
Read more >
VersionDetectedEvent - Angular
An event emitted when the service worker has detected a new version of the app on the server and is about to start...
Read more >
FullCalendar month change event - DEV Community ‍ ‍
Nothing seemed to work outside of grabbing every event from the DB on ... interactionPlugin, timeGridPlugin], events: [], editable: true, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found