开发者

fullcalendar colored same td?

开发者 https://www.devze.com 2022-12-24 17:08 出处:网络
Is possible change background-color on same td in fullcalendar? for example: I like have blue beckground at Mo 10:00-14:00 开发者_运维问答and green beckground at Tu 9:30-11:30.

Is possible change background-color on same td in fullcalendar? for example: I like have blue beckground at Mo 10:00-14:00 开发者_运维问答and green beckground at Tu 9:30-11:30.

I visit: http://code.google.com/p/fullcalendar/issues/detail?id=144&colspec=ID%20Type%20Status%20Milestone%20Summary%20Stars

But it is possible now and how?

P.S: Sorry, I have bad English :(


Perhaps we could have a little more information about it JGB146? I am currently looking for this to be done: FullCalendar: Change agendaDay background-color

you asked for a code snippet but it really is a basic calendar:

$('#calendar').fullCalendar({
                    events: "/HRV/GetEvents",
                    lazyFetching : false,
                    minTime: 9,
                    maxTime: 22,
                    firstHour: 9,
                    firstDay: 1,
                    slotMinutes: 15
});

Would love to be able to specify another option that goes like:

workingTimeRange: [ 
   {
      start: 9,
      end: 12,
      className: 'morningJob'
   },
   {
      start: 13,
      end: 17,
      className: 'afterNoonJob'
   }
]

That would be very useful of a feature.. I would implement my own but I am very new to jQuery/fullCalendar.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号