I am using fullcalendar in my web project. What I need to do is to add dropdown list on each dates of fullcalendar. (see this link - https://imgur.com/ApH2JTP).
When I try to add the dropdown outside of the fullcalendar, it works well. But when I tried to add inside each date cell of fullcalendar, dropdown is not opening and displaying upon click event.
Member
18 Points
41 Posts
Dropdown button is not working on each date cell of fullcalendar mvc c# javascript
Nov 19, 2019 02:53 AM|loraine26|LINK
Hi,
I am using fullcalendar in my web project. What I need to do is to add dropdown list on each dates of fullcalendar. (see this link - https://imgur.com/ApH2JTP).
When I try to add the dropdown outside of the fullcalendar, it works well. But when I tried to add inside each date cell of fullcalendar, dropdown is not opening and displaying upon click event.
What is the caused of this? Can someone help me out?
Contributor
3140 Points
983 Posts
Re: Dropdown button is not working on each date cell of fullcalendar mvc c# javascript
Nov 19, 2019 05:56 AM|Yang Shen|LINK
Hi loraine26,
dayRebder event will append your <a> to wrong places in your case.
You should use the eventAfterAllRender event which you can refer to FullCalendar adding data-date at tbody td on the div with a class of fc-content-skeleton and also below demo:
Best Regard,
Yang Shen