完整日历在当天添加更多“ LINK”

时间:2018-07-31 23:24:02

标签: fullcalendar fullcalendar-scheduler fullcalendar-3

是否想为日历添加“更多”链接?有人可以帮我吗?这是代码。但是,它是针对月视图而不是针对白天。希望在日视图中使用相同的链接。预先感谢

        $('#calendar').fullCalendar({
        defaultView: 'agendaDay',
        minTime: '#{@timing_slots[:start_time]}',
        maxTime: '#{@timing_slots[:end_time]}',
        slotDuration: '00:45:00',
        //themeSystem: 'bootstrap',

        height: 820,

        defaultDate: date,
        editable: false,
        selectable: true,
        eventLimit: true, // allow "more" link when too many events
        header: {
            left: 'prev,next today',
            center: 'title',
            right: 'agendaDay,agendaWeek,month'
        },
        views: {
            agendaDay: {
                type: 'agenda',
                duration: {days: 1},


                // views that are more than a day will NOT do this behavior by default
                // so, we need to explicitly enable it
                groupByResource: true

                //// uncomment this line to group by day FIRST with resources underneath
                //groupByDateAndResource: true
            },
            day: {
                titleFormat: 'dddd, MMMM Do YYYY',




            }
        },

0 个答案:

没有答案