fullcalendar-columns icon indicating copy to clipboard operation
fullcalendar-columns copied to clipboard

Updating minTime and maxTime Dynamically not working

Open MihirChichria opened this issue 2 years ago • 0 comments

$.ajax(
    {
        type: 'POST',
        url: "/admin/calendar-helper.php",
        data: {
            getTimeSlots: true,
            date: selectedDate
        },
        success: function (res){
            let data = JSON.parse(res);
            // console.log(data.start_time);
            // console.log(data.end_time);
            $("#calendar").fullCalendar('option', 'minTime', data.start_time);
            $("#calendar").fullCalendar('option', 'maxTime', data.end_time);
            $("#calendar").fullCalendar('render');
        }
    });

$("#calendar").fullCalendar('render'); not rendering

MihirChichria avatar Oct 30 '22 06:10 MihirChichria