My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 292: Detail of an event
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jan 2010


Sign in to add a comment
 
Reported by kaleem.r...@gmail.com, Jan 14, 2010
hi 

i m not a much of a JS programmer so not knew much abt it... what i want is
that in the month view only show the title where as in daily and week view
also show details of the event along with title... is this provision
available or can it be built... 


regards
Kaleem


Jan 19, 2010
Project Member #1 adamrs...@gmail.com
i would use the eventRender callback
(http://arshaw.com/fullcalendar/docs/event_rendering/eventRender/) to manipulate the
element. something like this (though i cant guarantee it will work)

$('#calendar').fullCalendar({
    eventRender: function(event, element, view) {
        if (view.name != 'month') {
            element.find('.fc-event-title').after($('<div/>').text(event.description));
        }
    }
});
Status: Done
Sign in to add a comment

Powered by Google Project Hosting