FullCalendar show only weekDays

后端 未结 1 643
無奈伤痛
無奈伤痛 2020-12-21 04:51

Hello guys I\'m trying to show a week timetable, I must show only the name of the date, without date. Such as time table in agenda view. User must be able to select a range

相关标签:
1条回答
  • 2020-12-21 05:04

    This shows only Monday - Friday http://jsfiddle.net/w11xw5gt/1/

    $('#calendar').fullCalendar({
        header: {
            left: '',
            center: '',
            right: '',
        },
        editable: true,
        views: {
            settimana: {
                type: 'agendaWeek',
                duration: {
                    days: 7
                },
                title: 'Apertura',
                columnFormat: 'ffffdd', // Format the day to only show like 'Monday'
                hiddenDays: [0, 6] // Hide Sunday and Saturday?
            }
        },
        defaultView: 'settimana',
    });
    

    See Info for display options and text/time customization

    0 讨论(0)
提交回复
热议问题