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

167
Visualizações
How to display events on disabled dates in Fullcalendar?

I'm using Fullcalendar for displaying event booking. I disabled all previous dates to avoid new booking on old dates. But unfortunately, the previous events are not showing on the disabled dates. What I want to achieve is that show all the events irrespective of previous or upcoming, but disable the click option on previous dates to avoid adding events on old dates.

o.$calendarObj = o.$calendar.fullCalendar({
    slotDuration: "00:15:00",
    minTime: "08:00:00",
    maxTime: "19:00:00",
    defaultView: "month",
    handleWindowResize: !0,
    height: e(window).height() - 100,
    header: {
        left: "prev,next today",
        center: "title",
        right: "month,agendaWeek,agendaDay"
    },
    events: event_list,
    editable: 0,
    droppable: 0,
    eventLimit: !0,
    validRange: {
        start: new Date(e.now())
    },
    
    selectable: !0,
    eventClick: function(e, t, n) {
        o.onEventDetailsClick(e, t, n)
    },
    dayClick: function(date, jsEvent, view, resourceObj) {
        alert('Add New Event' );
        
      }
})
about 4 years ago · Juan Pablo Isaza
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