I have purchased the Fullcalendar license.But i'm facing issue as it doesn't scroll automatically to current date in timelineWeek,timelineMonth view.I have attached below the code snipet which I have tried.
if $('#eventcalendarsub').length > 0
$('#eventcalendarsub,#eventcalendarsubbig').fullCalendar
scrollTime: moment().subtract(3, 'h')
disableDragging:true
nowIndicator:true
editable: false
height: 390
header:
left: 'today prev,next'
center: 'title'
right: 'timelineDay,timelineWeek,timelineMonth'
defaultView: 'timelineDay'
resourceLabelText: 'ABC/XYZ'
resources:
url: '/ABC.json'
error: ->
alert 'There was an error while fetching events!'
return
events:
url: '/XYZ.json'
error: ->
alert 'There was an error while fetching resources!'
return
so please help us to achieve this functionality.