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

264
Views
Eliminar u ocultar una fecha específica en fullcalendar V5

Estoy tratando de eliminar u ocultar fechas/días de fullcalendar V5, por ejemplo, tengo estas fechas: 2021-09-10 y 2021-09-12 , lo que estoy tratando de hacer es no mostrar las fechas o eventos en ese día.

 document.addEventListener('DOMContentLoaded', function () { var calendarEl = document.getElementById('calendar'); var MyDate = new Date(2021, 9, 10); var calendar = new FullCalendar.Calendar(calendarEl, { initialView: 'timeGridWeek', locale: 'es', headerToolbar: { right: "timeGridWeek,timeGridDay,listWeek", center: "title", left: "prev,next" }, // No muestro los fines de semana weekends: false, hiddenDays: [0, 6], // Hora minima y maxima en la que se van a mostrar los eventos, con 30 minutos de separacion timeFormat: 'H:mm', axisFormat: 'HH:mm', slotMinTime: '11:00', slotMaxTime: '21:00', dayRender: function (cell) { MyDate.css("visibility", "hidden"); cell.css("visibility", "hidden"); }, events: [ { url: 'alltwo.php', // use the `url` property color: 'red', } ], eventSources: [ { url: 'all.php', // use the `url` property color: '#1c97df', // an option! textColor: 'whitesmoke', // an option! eventColor: '#378006', // method: 'POST', dataType: 'json', } ], }); calendar.render(); });

El código es el que estoy tratando de usar pero no estaría funcionando.

Versión FullCalendar 5.9.0

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!