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.

FullCalendar eventClick fire dayClick

See original GitHub issue

I have problem with FullCalendar schedular. When I click event fired eventClick and get start and end date. When I click day fired dayClick get specif date. I need get specific date when click event, but don’t fired dayClick.

eventClick: function( event, jsEvent, view ) { //I need date from dayClick console.log("eventClick"); console.log(event.start); }, dayClick: function( date, jsEvent, view, resourceObj ) { //not fired when click event console.log('dayClick'); console.log(date); }

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
adesheddiecommented, Jan 25, 2021

@meridPL Did you find a way to get the clicked date via eventClick? It’s really frustrating that such an important feature is not available…

1reaction
acerixcommented, Nov 8, 2018

So you are looking for an option that will make dayClick trigger even if there is an event in the way?

You could also check the position that was clicked on and calculate the time that way:

https://codepen.io/anon/pen/LXNBPN?editors=0011

Read more comments on GitHub >

github_iconTop Results From Across the Web

dayClick - Docs v3 - FullCalendar
dayClick. Triggered when the user clicks on a date or a time. ... The dayClick trigger is not fired when the user clicks...
Read more >
How can I render "day click" event when ... - Stack Overflow
I commented the event click in my code to render "day click".Even though On click of the events in that day it's not...
Read more >
Full Calendar Day Click event – Right button - Wisej.com
The DayClick event provides a button property in the event arguments. If fires for Left, but it seems the event does not fire...
Read more >
Javascript – In the FullCalendar dayClick event, can I get the ...
The problem is when user click outside of event area (upper area or bottom area) of a date with existing event, it raise...
Read more >
FullCalendar2 get Resource Id on dayClick Event. - OutSystems
FullCalendar2 get Resource Id on dayClick Event. ... I trying to get ResourceID when dayClick event trigger. ... https://fullcalendar.io/docs/dayClick.
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