fullcalendar

How can I disable some dates range in a fullcalendar?

旧街凉风 提交于 2019-12-06 22:48:32
问题 I want to disable days before and after dates range, anybody know how can I do that? (sorry for my english). Hernan 回答1: so you mean on the ACTUAL calendar you don't want people to book certain dates? Look at this link http://jsfiddle.net/ppumkin/7MTdn/ Click on a day 15 days later and the alert changes.. something like this? Yea If that is what you mean i can try and change it for your needs.. $('#mycalendar').fullCalendar( { header: { left: 'prev,next today', center: 'title', right: 'month

Fullcalendar and timezones. Help, I'm doing it wrong

丶灬走出姿态 提交于 2019-12-06 18:56:10
问题 I'm doing it wrong somehow. I'm getting tripped up on timezones with Fullcalendar . I've tried setting ignoreTimezone to true and false, but it doesn't seem to matter. It's in the code below in two places because I wasn't sure from the doc where it goes. My data source is a hidden form field. Data that goes out of FullCalendar is adjusted by adding 5 hours (CDT). Data that goes in to FullCalendar isn't adjusted by removing 5 hours. On the back-end, I'm just saving and returning the JSON

Has anyone built a recurring events UI for jquery full calendar?

自作多情 提交于 2019-12-06 16:43:13
问题 I see that jquery full calendar supports recurring events by having the multiple events having the same I'd but I am surprised that there isn't any UI component to go along with it. Is there any UI component that anyone has built for this. (similar to the outlook UI) I am trying to avoid building from scratch given it seems like a generic component. My backend is asp.net-mvc but I guess that shouldn't really matter it would look something like this: 回答1: I recommend this plugin - it was

How can we specify custom date range with fullcalendar?

与世无争的帅哥 提交于 2019-12-06 16:02:58
I want to use fullcalendar with custom date range for ex. it should display view for particular date range like from 15th April to 4th May(Spans between two months). Any suggestions?. you can call this function to gt events in date range. but this will bring you only 30 days evnt. if you pass dates like '01-may-2013' to 15-June-2013' then it will show data from 01-may2013 to 30st may 2013. Lt me know if you can find any clue for this issue. function GetAgendaEvents(datefrom, dateTo) { var fromDate = new Date($("#from").val()); var toDate = new Date($("#to").val()); if (fromDate.getTime() <=

How to add event and event description via popover in full calendar

◇◆丶佛笑我妖孽 提交于 2019-12-06 15:50:18
I have used full calendar for displaying events and holidays. The events are generated from a json file. How to enter the events in the frontend (i.e) If the user click on a particular date , it should show a empty popover to enter the title and description of the event. How to achieve this ? fiddle link is in the comment .... If I understand the description is the content of the event, then you can change this line: content: event.msg to content: event.title EDIT after reading the below comments: I just added this closure in your window.load closure. This is working in Firefox, but in Chrome

Scroll to next month in fullcalendar.js

穿精又带淫゛_ 提交于 2019-12-06 15:14:26
问题 I want to scroll through months in month view of the fullcalendar.js plugin. Does anyone know how to do this? Thanks! 回答1: Listen to the scroll event using jquery or whatever. Look here for example Use the next and previous methods. If you only want to allow scrolling when on a certain view (i.e. the month view) then you can use the getView method to check what view you're currently on. 回答2: Here is the JS code to have infinite scroll in an fullCalendar Scheduler : $(document).ready(function(

Fullcalendar recurring events limits (using dow)

给你一囗甜甜゛ 提交于 2019-12-06 15:06:16
I have been trying to make recurring events in fullcalendar, I really find dow feature helpful, but I really want to add date ranges to it. In other words, dow : [1] will repeat a task for every single Monday, the problems is, I want to make it visible only in a date range I set. You can not set ranges by using dow, you have to perform some custom functionality. Lets suppose that you have fetched events data from your database which contains multiple event objects. each event object has start date end date property and also to and from properties which contains date range , isRecurring is a

Fullcalendar 2 not rendering, Bootstrap 3 & Rails 4 Incompatibility? (Jsfiddle included)

拟墨画扇 提交于 2019-12-06 14:56:39
I've been trying to render a calendar in my rails 4 app and the calendar doesn't show up when I'm using Bootstrap 3. I rebuilt the app with JUST the fullcalendar 2 and bootstrap 3 files and it still doesn't render. These are 2 jsfiddles in the comments (each with a separate js call for the calendar). They both use the files I'm trying to require for my app. I've been working for several days on this and I can't understand what's going on. I haven't changed any files or done anything. As you can see, I'm using clean, cdn assets. Any help would be greatly appreciated. Please see jsfiddles in the

FullCalendar: Default timezone irrespective of client's location

被刻印的时光 ゝ 提交于 2019-12-06 14:53:08
I am trying to create an appointment-scheduling application with fullcalendar . I want to represent time-slots on the calendar in only one timezone(i.e., EST) across all locations. So even if a person from PST zone is viewing the calendar, the times should be in EST. Also, even he/she schedules clicks a slot, the time should be in EST. How can I set a default time-zone for the calendar irrespective of location. I believe this can be done by specifying the timezone string when you initialize your calendar: $('#calendar-selector-id-name').fullCalendar({ timezone: 'American/Indiana/Indianapolis'

jQuery FullCalendar JSON date issue

♀尐吖头ヾ 提交于 2019-12-06 14:46:27
问题 I am integrating jQuery plugin FullCalendar, overall it has been really straightforward. I however have ran into a problem with adding events to the calendar. I am using ASP.NET MVC 1.0 and have found and followed this post. I am returning JSON to the FullCalendar and the events are getting bound, but they all show up as all day events. I am formatting the dates as ISO8601 format as documented at their site. Calendar Javascript $('#calendar').fullCalendar({ events: "/Calendar/GetEvents/" });