I'm struggling to understand how to implement gotoDate properly. The documentation specifies a string based command structure (like so: .fullCalendar( 'gotoDate', date )
), but does not specify an appropriate approach when the constructor contains variable flags. This is my current approach:
$('#eventCalendar').fullCalendar({
height: "parent"
});
Simply adding .gotoDate(date)
to the end of this structure does not yield any result at all. Do I need to remove the height flag in order to achieve this?
Notes:
* date
is a moment as specified
* Height is specified by an external div
element
* The date is supplied by a C# backend in the format yyyy-MM-dd