Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

159
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!