fullcalendar

How to change the font-color of jQuery Full-calendar header title?

白昼怎懂夜的黑 提交于 2019-12-11 06:54:31
问题 I'm using the jQuery full-calender for my work. As in the image I have created the calendar but now I want to change the title color of the header ( February 2015 ) to green. (to match it to the theme) So far I couldn't do that. I saw some SO questions and answers which are suggesting to change the .css file. But then the change will affect to all calendars ( I'm having several calendars with several themes ) How can I solve this problem ? UPDATE : This is an example code in a fiddle. 回答1:

FullCalendar js - To add code html in all day cells II

眉间皱痕 提交于 2019-12-11 06:53:15
问题 Yesterday, i published one question, but the requisites have changed: DOM manipulation for fullCalendar js. Now, the icons must be events. You can not add icons with the library "awesome" From this example (code js) $(document).ready(function() { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); var events_array = []; var currDate = new Date(new Date().getFullYear(), 0, 1); while (currDate.getYear() == 115) { currDate.setDate(currDate.getDate(

Dynamically toggle resource column visibility

最后都变了- 提交于 2019-12-11 06:36:49
问题 I have a FullCalendar scheduler on a webapp which has 2 way databinding for resources and events, all working great. I want to be able to present the user with a dropdown that enables them to toggle the visibility of a column, ideally completely client side. I have tried a combination of addResource / removeResource however my issue here is that a rerender of the calendar (e.g. when a new event is added) then displays the previously removed resource. I can work around this however would

Fullcalendar migrate from 3.x to 4.x extraParams doesn't manipulate multiple input as array

霸气de小男生 提交于 2019-12-11 06:34:15
问题 I'm trying to migrate from fullcalendar 3.x to 4.x <select id="ids" name="ids[]" class="form-control" multiple> <option value="1" selected> Option 1</option> <option value="2"> Option 2</option> <option value="3"> Option 3</option> </select> <button type="button" id="btn-filter">Apply</button> In 3.x version the data parameter inside events are correctly managed as array: This is my FIREFOX CONSOLE: array_ids[]: 0: 1 1: 2 start: 2019-06-01T00:00:00 end: 2019-07-01T00:00:00 Piece of code:

fullCalendar Font size

孤人 提交于 2019-12-11 06:28:34
问题 I am having issues setting the calendar font sizes to be smaller. I have changed setting a container div font size, no effect. I have also changed the fullCalender.css font from 1em to 0.5em and to a px size but the calendar text stays the same. 回答1: This is quite the blast from the past, but I originally found this looking for a solution. I just wanted to change the font size of the elements in the table (date headers, time sidebar). The following worked for me: th.ui-widget-header { font

Mapping data from database into a JSON object Fullcalendar

荒凉一梦 提交于 2019-12-11 06:15:31
问题 I've installed Fullcalendar bundle (Symfony2) and all the events that I'm adding were showing correctly. Now I add eventClick function in Fullcalendar.js (it works with open.window('page') just for testing). Now I want to get all the information about this event (id,name,...etc) in an alert() or something else instead of window.open() . How can I do that? $(function () { /* initialize the calendar -----------------------------------------------------------------*/ //Date for the calendar

How to update start Time(!) in fullcalendar.js

╄→гoц情女王★ 提交于 2019-12-11 06:08:10
问题 Is there a way to change the start time of an Event, wich I draged into the calendar. The Event comes from an external Source like this: //initialize the external events $('#external-events .fc-event').each(function() { /* // store data so the calendar knows to render an event upon drop $(this).data('event', { title: $.trim($(this).text()), // use the element's text as the event title stick: true // maintain when user navigates (see docs on the renderEvent method) }); */ var eventObject = {

Detect background events

故事扮演 提交于 2019-12-11 05:53:02
问题 I am using FullCalendar in my project. I used background events, rendering="background" . How can I detect if user click on the background events? I try this but it doesnot work since all dates cannot be clicked. dayClick: function (start, end, allDay, jsEvent, view,color,calEvent) { if (calevent.rendering==="background") { alert('Click Background Event Area'); } else{ $('#modal1').modal('show'); } if (start.isBefore(moment())) { $('#calendar').fullCalendar('unselect'); return false; } }, 回答1

How to populate modal on event click?

三世轮回 提交于 2019-12-11 05:39:28
问题 Currently setting up FullCalendar using ReactJS. I can populate my calendar and the events but having trouble with the eventClick={} . How can I populate a modal using eventClick={} and retrieve event information? I have managed to get the modal to appear when the event is clicked on but I cannot seem to pass any data through < this is the closest I got. I thought of perhaps greating a function where the modal fires off but I cant work out how to make it show. Current Code constructor() {

jQuery and Bootstrap dialog not coming up

不羁的心 提交于 2019-12-11 05:32:32
问题 Currently have a FullCalendar Application which keeps tracks of appointments. Recently changed the layout around which somehow helped get my dialog working. So whenever I click an appointment on the calendar, it comes up with the details in a dialog. I have switched some things around and now it doesn't work, coming up on Internet Explorer with Unhandled exception at line 214, column 25 in http://localhost:9755/Account/Login?ReturnUrl=/Appointments/Calendar 0x800a01b6 - JavaScript runtime