Mittcho
Mittcho

Reputation: 151

disable basicDay view in FullCalendar

I have already remove the day from the header of the calendar.

What I cannot figure is how to remove the "link" on the number and the disable of the basicDay view.

I just want the user to have month and week.

This is how my calendar looks like

This is the thing I want to disable

Upvotes: 2

Views: 2742

Answers (1)

Mittcho
Mittcho

Reputation: 151

thanks @ADyson

I set the navLinks to false and it fixed it.

$('#calendar').fullCalendar({
    header: {
      left: 'prev,next today',
      center: 'title',
      right: 'month,basicWeek'
    },
    firstDay: 1,
    navLinks: false
});

Upvotes: 3

Related Questions