How can I display another filed title, not an event title on a jQuery FullCalendar?
On the calendar I'd like to display another field title (like requestID#) along with a time reserved instead of the event title. I'm not sur开发者_JS百科e where and how I need to make changes to the fullcalendar.js file. Thanks in advance for your help.
What eventsource are you using?
If you are building your own, you could just put requestID#
in the title property on the event object.
Or you could put it in a custom field like: event.requestId
and change the title in the eventRender callback like so:
eventRender: function (event, element) {
element.find('.fc-event-title').text(event.requesetId);
}
精彩评论