Add More Fields/data To A Fullcalendar Day
I am working on a web app using the FullCalendar JQuery plugin to display the absence/presence of workers each day in a company. I need to display several types (or fields) of info
Solution 1:
Non-standard Fields This was taken from Fullcalendar website.
In addition to the fields above, you may also include your own non-standard fields in each Event Object. FullCalendar will not modify or delete these fields. For example, developers often include a description field for use in callbacks such as eventRender.
You can add any fields you want, fullcalendar will not change them.
events: [
{
title:'John is sick',
start:'2013-11-19',
allDay:true,
description:'Hurrayyyyyyyyyy',
myotherspecialfield:':P'
},
{
title:'Mike is on vacation',
start:'2013-11-21',
end:'2013-11-26',
allDay:true,
description:'Hurrayyyyyyyyyy'myotherspecialfield:':P'
}
]
Post a Comment for "Add More Fields/data To A Fullcalendar Day"