I have a calendar using FullCalendar, which is going to be used as a reservation system for a small massage salon.
Instead of showing all events including it's data to the website visitor, I want existing events to be not-clickable, while being grayed out without showing it's text so visitors just get an unavailable/available slots effect.
I have tried to find a solution on the internet but without any luck. My code to reproduce my situation:
<div id='calendar'></div>
<script>
$('#calendar').fullCalendar({
events: [
{
title : 'event1',
start : '2019-03-20'
},
{
title : 'event2',
start : '2019-03-15',
end : '2019-03-18'
}
],
})
</script>
I'm almost sure I have to use viewRender, I just don't know how. Hope any of you guys is able to help me out.