Full time interval

I use Fullcalendar to display events in my application, but I would also like to use it to schedule resources, but I need to be able to schedule these resources at 5-minute intervals. Can I customize the calendar (week / day view) to display 5 minute intervals instead of the default 30 minute intervals?

If so, can you also drag at the same interval?

+4
source share
3 answers

I'm not sure about dragging and dropping, but as for the calendar ... Yes, you can change the size of the time interval, enable the property in your full-calendar config slotMinutes, for example,

$('#mycalendar').fullcalendar({
    ...
    slotMinutes: 5,
    ...
});

Hope this helps!

+4
source

2.11 fullcalendar 5 , slotDuration 'hh: mm: ss'

$('#mycalendar').fullCalendar({
    ...
    slotDuration: '00:05:00', 
    ...
});
+11

2.3.2 ( ) :

slotDuration: '00:30:00',
snapDuration: '00:05:00',

slotDuration 30 . snapDuration : 5 , .

, 10:00 10:30 . , (), : 10:05 10:35 am .

http://fullcalendar.io/docs/agenda/snapDuration/.

+11

All Articles