I work on a project that is based on the draggable events demo concept. I would like to be able to access the events data that has been collected as you add events to the calendar.
Is there a hook to access all the data that's been collected? I'm thinking something like:
$('#calendar').fullCalendar.getEvents();
I'd like to have a button call on the page outside of the calendar that gets all the data that has been collected and sends it back to the server as a string of JSON.
FullCalendar's getDate returns a moment object, so you need moment's toDate() method to get date out of it. So, in you code try: console. log(currentDate.
You need to implement the eventResize to save the effect of dragging the event across days. ideally, create a function to post your data and call it from each event. function saveMyData(event) { jQuery. post( '/event/save', { title: event.
Detect when the user clicks on dates or times. Give the user the ability to select multiple dates or time slots with their mouse or touch device. Allows a user to highlight multiple days or timeslots by clicking and dragging.
$('#calendar').fullCalendar('clientEvents');
Documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With