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

238
Views
Change multiple Fullcalender Day Cell Backgrounds from external Data specified in Database Table

Im trying to change the fullcalendar (v3) day cell background-color for specific days declared in a databse table. So far i was able to try it with manual input for only one day which works fine with the following code:

        dayRender: function (date, cell) {
            
            var day_declared_in_database = '2022-05-13';
            
            var specific_day = moment('' + day_declared_in_database + 'T00:00Z');
            if (date.isSame(specific_day, "day")) {
                cell.css("background-color", "blue");
            }
        },

Any idea how to get external data into dayRender and loop through all days to apply the color to multiple different days?

enter image description here

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!