fullcalendar

My popups on fullcalendar are being clipped

妖精的绣舞 提交于 2019-12-10 23:57:38
问题 I'm using Bootstrap 2.2 popovers in conjunction with FullCalendar but they are being clipped by the calendar's CSS when they appear near the edges - see the fiddle here: http://jsfiddle.net/nzxyY/6/ The calendar has several divs containing the content but I suspect this is the main culprit: .fc-view { width: 100%; overflow: hidden; } Is there a CSS hack I can use to make the popover avoid the overflow:hidden constraints imposed by FullCalendar for its contents? There are benefits to having

How to increase the space between the two events in fullcalendar

戏子无情 提交于 2019-12-10 23:54:59
问题 I want to increase the space between two events in month view of full calendar. 回答1: you need to modify css element of event in EventRender Function you can achieve spacing between events like this eventRender: function (event, element, view) { $(element).css("margin-top", "5px"); $(element).css("margin-bottom", "5px"); } 来源: https://stackoverflow.com/questions/22192750/how-to-increase-the-space-between-the-two-events-in-fullcalendar

json array for events array in jQuery fullcalendar

吃可爱长大的小学妹 提交于 2019-12-10 22:46:27
问题 i'm using jQuery fullcalendar and i must set events dynamically, from a query, using a JSON array, for now i'm trying with a static array. This is my code: <?php $arr = array( array( "title" => "first", "start" => "2016-10-18T10:00", "end" => "2016-10-18T11:00" ), array( "title" => "second", "start" => "2016-10-18T12:00", "end" => "2016-10-18T13:00" ), array( "title" => "third", "start" => "2016-10-18T16:00", "end" => "2016-10-18T17:00" ) ); json_encode($arr); ?> $(document).ready(function ()

Recurring events in FullCalendar with Laravel

末鹿安然 提交于 2019-12-10 20:59:45
问题 I'm working on a fullcalendar module for my page.I could display Events on calendar without the recurring feature. But when I altered my table to include recurring features I could not display events from the table. This is my table structure. The Update function in controller is called while the form is submitted and i noticed that it is being updated in the table.This is my form. and this is my controller update function. public function update($id) { //$type=Input::get('type'); $event_id=

Displaying events - always allDay

会有一股神秘感。 提交于 2019-12-10 20:53:51
问题 I'm displaying results from my db via JSON onto the calendar A small example is as follows "start":"2013-11-12 14:00:00","end":"2013-11-12 15:00:00" (ignore the start/end of the JSON) This works fine and displays the event on the correct day. When I switch to agendaWeek it displays the event as allDay I know I can set a flag for allDay as being false, but these details are coming straight from the db. In the eventRender function I have the following: $.fullCalendar.formatDate(event.start, 'dd

Angular2-fullcalendar is not an NgModule. Unexpected directive CalendarComponent

风流意气都作罢 提交于 2019-12-10 19:26:49
问题 On latest versions of Angular-cli the angular2-fuullcalendar is not working due: "ERROR in CalendarComponent is not an NgModule" In the browser I find the follow message: "Error: Unexpected directive 'CalendarComponent'" I've experienced the same error on my own libraries. Please check the follow post and the solution: ERROR in ** is not an NgModule 来源: https://stackoverflow.com/questions/42339165/angular2-fullcalendar-is-not-an-ngmodule-unexpected-directive-calendarcomponent

Display ending time in fullcalendar week view only

有些话、适合烂在心里 提交于 2019-12-10 18:01:03
问题 Edit to add: Sorry, found the answer here: http://arshaw.com/fullcalendar/docs/text/timeFormat timeFormat: { month: 'H:mm', '': 'H:mm-{H:mm}' }, end of edit I'm using fullcalendar, and I want to include the ending time in the "week" and "day" views. I found an answer by Nico on how to display the ending time: timeFormat: 'HH:mm { - HH:mm}' Nico wrote: Blockquote the time between {} is the end time. If you don't specify the ending time between curly brackets it will just display the start time

Creating an interactive events scheduler

◇◆丶佛笑我妖孽 提交于 2019-12-10 17:56:00
问题 I'm attempting to create something with a similar layout to this schedule page. See attached screenshot also. . So what I need is: - "Categories" across the top of the scheduler (Vertical dividers). - "Timeslots (07:00 07:30, etc..)" down the left of the scheduler. User's can then add events via modal screens and assign them "Timeslots" and "Categories". They should then appear in the Schedule in the appropriate locations. The above mentioned example appears to be using Dojo. I found this

Is it possible to display two/three months?

北城以北 提交于 2019-12-10 17:54:13
问题 Is it possible to display two/three months? 回答1: The documentation for FullCalendar should help you answer that (which is well documented, BTW). I found this doing a quick search for your answer. EDIT: digging a tad further, I found this as well which indidcates it's not a primary feature but there are some things you can do to mimic what you want. 回答2: Even I wanted the same and did something like this. <table width="100%" cellpadding="5" cellspacing="5"> <tr> <td>   </td> <td> <input type=

Fixed Column Widths in Resource FullCalendar

安稳与你 提交于 2019-12-10 17:36:26
问题 I am using a special version of FullCalendar that supports Resource Views. http://tux.fi/~jarnok/fullcalendar-resourceviews/ I only have a couple of problems with it. It seems to automatically set the column widths, which I think applying this sort of addresses that: .fc-widget-header { width:100px; } .fc-widget-content { width:100px; } .fc-resourceName { background-color:aliceblue; width:150px; } Then the html writes that width of the cells is 100px, but it is still trying to auto fit