Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to split single day in column in fullcalendar?

I want to split single day of Fullcalendar view in multi column. Some thing like this. How can I achieve this ? enter image description here

This question partially related to this one Fullcalendar - limit selectable to a single day

Thanks , Any kind of help will greatly appreciated.

like image 727
Ajay Patel Avatar asked Aug 07 '12 13:08

Ajay Patel


People also ask

How do I get FullCalendar day?

Calendar::getDate Returns a Date for the current date of the calendar. For month view, it will always be some time between the first and last day of the month. For week views, it will always be sometime between the first and last day of the week.

How do I start and end date in FullCalendar?

We can get start date by getView event with intervalStart. We can get end date by getView event with intervalEnd. var month = $('#calendar'). fullCalendar('getView').

What is the use of FullCalendar?

What is Fullcalendar? FullCalendar is a JavaScript library that seamlessly integrates with such popular JavaScript frameworks as Vue, React, Angular. Thanks to its excellent documentation, one won't have trouble incorporating the library into projects.


2 Answers

I just published my solution at https://github.com/mherrmann/fullcalendar-columns. It currently does not allow labels ("Joe Bloggs", "Alan Black" etc. in your screenshot) but has the advantage that it is not a clone of FullCalendar, so you have more freedom to use it with a FullCalendar version you like. It's very basic at the moment but feature requests are welcome.

like image 124
Michael Herrmann Avatar answered Oct 29 '22 16:10

Michael Herrmann


I found some help here by this link: http://code.google.com/p/fullcalendar/issues/detail?id=490

which led me to

https://github.com/AbleTech/fullcalendar

I took this fork of fullcalendar and was able to replace the 1.5.3 that i was using and then used the resourceDay view.

like image 38
Timothy Jeffcoat Avatar answered Oct 29 '22 16:10

Timothy Jeffcoat