Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

216
Visualizações
How to disable previous month in Fullcalendar io?

How to disable the previous button when the previous month is less than the current month. For example, this month is March, therefore navigation previous month button must be disable.

I have read the documentation but until now this issue has not been resolved.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

What you need is the validRange option. This allows you to set limits on where the user can navigate to, and where events can be placed.

There's an example in that documentation of how you can prevent the user navigating before the current date - you need to make use of the version of the option which provides a callback function, into which fullCalendar will pass the current date. Simply specify the current date as the start of the valid range. If you don't specify an end date, then there will be no future limit on the dates the user can navigate to; it will only restrict dates in the past.

validRange: function(nowDate) {
  return {
    start: nowDate
  };
},

Live demo: https://codepen.io/ADyson82/pen/yLPQYxr

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda