FullCalendar eventClick fire dayClick
See original GitHub issueI 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:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top 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 >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
@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…
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