开发者

How can I display another filed title, not an event title on a jQuery FullCalendar?

开发者 https://www.devze.com 2023-03-13 23:02 出处:网络
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

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);
    }
0

精彩评论

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

关注公众号