-2

It is possible to emphasize business hours in fullcalendar by changing the background of these cells so as to make them more visible?

Darren Shewry
  • 10,179
  • 4
  • 50
  • 46
JR Lozano
  • 11
  • 3

1 Answers1

0

It's not possible to set via js of fullcalendar, just via css. there are two examples:

Is it possible to do alternating row background colours in FullCalendar?

FullCalendar highlight row

cheers

Edit

There is a solution; Background Events an example:

How to grey out non working day in agendaDay view with arshaw fullcalendar v2.3.0

Community
  • 1
  • 1
LakiGeri
  • 2,046
  • 6
  • 30
  • 56
  • 1
    Thanks @LakiGeri. I have just found it! For example I've changed nonbusiness background like this: .fc-nonbusiness{background:#777777} – JR Lozano Mar 14 '17 at 14:50
  • It is a better solution (defining `Background Events`) I guess. – LakiGeri Mar 14 '17 at 15:00
  • 1
    It is an interesting solution, but I like businessHours because I can deny dropping over there: eventConstraint: "businessHours", – JR Lozano Mar 14 '17 at 15:16