Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Events are not rendered #518

Open
slishnevsky opened this issue Sep 24, 2017 · 1 comment
Open

Events are not rendered #518

slishnevsky opened this issue Sep 24, 2017 · 1 comment

Comments

@slishnevsky
Copy link

Events are not rendered.

where events are defined in controller (vm) as (from the demo):

events: [
{
title: 'All Day Event',
start: '2017-09-01'
},
{
title: 'Long Event',
start: '2017-09-07',
end: '2017-09-10'
},
{
id: 999,
title: 'Repeating Event',
start: '2017-09-09T16:00:00'
},
{
id: 999,
title: 'Repeating Event',
start: '2017-09-16T16:00:00'
},
{
title: 'Conference',
start: '2017-09-11',
end: '2017-09-13'
},
{
title: 'Meeting',
start: '2017-09-12T10:30:00',
end: '2017-09-12T12:30:00'
},
{
title: 'Lunch',
start: '2017-09-12T12:00:00'
},
{
title: 'Meeting',
start: '2017-09-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2017-09-12T17:30:00'
},
{
title: 'Dinner',
start: '2017-09-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2017-09-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2017-09-28'
}
]

@oleks-fedotov
Copy link

What solved problem for me - remove and add events source(directly on the jquery plugin):

uiCalendarConfig.calendars[$scope.calendarName].fullCalendar('removeEvents');
uiCalendarConfig.calendars[$scope.calendarName].fullCalendar('addEventSource', $scope.events);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants