问题标签 [fullcalendar]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
18370 浏览

jquery - 切换全日历视图时重新获取事件

我在日历中使用了 3 个视图:月、议程周和议程日。添加事件后,我调用 refetchEvents 来显示新事件。如果我从议程周或议程日添加事件,则重新获取当然会获取一周或一天的事件。如果我然后切换到月视图,我只有一周或一天的事件。

我尝试在 viewDisplay 上添加 refetchEvents。这样做的问题是它在初始负载上运行,这会导致所有事件的重复。有没有办法可以阻止在日历加载期间调用 refetchEvents?

切换视图时还有其他方法可以强制重新获取吗?

0 投票
4 回答
42400 浏览

jquery - Jquery 完整的日历和动态事件颜色

我想通过我的 json 事件源为 jquery fullcalendar 传递事件的颜色,我该如何实现?

0 投票
2 回答
7870 浏览

jquery - jQuery FullCalendar JSON date issue

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

JsonResult

JSON Result Value

Any help is truly appreciated!

0 投票
2 回答
1389 浏览

jquery - 带厚框的完整日历

有没有人有幸让 FullCalendar 与 jQuery 的 ThickBox 一起工作?

当有人单击 FullCalendar 事件时,我希望将事件详细信息打开到厚框窗口中。

知道如何让他们一起工作吗?

0 投票
3 回答
13380 浏览

javascript - jquery完整日历

我拥有的是一个带有 12 个标签的标签页(每个标签都是一年中的一个月)。我需要的是当我加载 jquery 日历、foreach 选项卡、日历以切换到分配的月份。(例如,当我单击并加载一月份的页面时,日历显示一月份的天数,依此类推)。

0 投票
4 回答
2855 浏览

asp.net - 从 MVC 填充 FullCalendar 事件

我在从 MVC 填充 FullCalendar 时遇到了困难,请在此问题上提供一些帮助。

我的控制器有以下代码:

这确实运行正确,但返回的格式是:

[[25,"South America 2008","False",1203033600,1227657600],[48,"Levant 2009","False",1231804800,1233619200],[49,"South America 2009","False",1235433600 ,1237420800],[50,"意大利 2009","假",1241049600,1256083200],[189,"黎凡特 2010a","假",1265414400,1267574400],[195,"黎凡特 2010a","假", 1262736000,1262736000],[208,"黎凡特 2010a","假",1264982400,1267574400],[209,"黎凡特 2010a","假",1264982400,1265587200],[210,"黎凡特 2010","假" ,1264982400,1266969600],[211,"黎凡特 2010 b","假",1267056000,1267574400],[213,"南美 2010a","假",1268438400,1269648000],[214,"黎凡特 2010 c" "假",1266364800,1264118400],[215,"南美 2010a","假",1268611200,1269648000],[217,"南美 2010","假",1268611200,1269561600],[218,"南美 2010 b","假”,1268956800,1269388800],[227,”levant 2010 b”,“假”,1265846400,1266192000]]

这与我在这里看到的帖子完全不同:jQuery FullCalendar JSON date issue

(注意缺少标签信息和花括号)

有人可以向我解释我可能做错了什么以及为什么我的输出格式不正确。

TIA

0 投票
3 回答
11186 浏览

jquery - 在 Jquery FullCalendar 中禁用天数

我将 FullCalendar 用作具有附加功能的大型日期选择器,并且需要禁用全年的所有星期日和其他各种日子。Jquery UI 日期选择器允许您创建禁用日期的方法。FullCalendar 是否有类似的设置?

0 投票
1 回答
13189 浏览

jquery - jQuery FullCalendar - 尝试添加事件并在日历上显示失败

我正在尝试研究如何使用 Adam Shaw 出色的 jQuery 插件 - FullCalendar 在我们的项目中添加一个事件:在线气球订购页面正在开发中

基本上,如果您点击“step1”并选择“pickup in shop”,页面将带您进入日历视图,您可以点击右上角的“week”按钮将视图更改为每周基础。我想要实现的是当客户在一天内点击一个空槽时,她可以在那个位置创建她的事件。这是我在 custom.js 中的代码:

它尝试使用 FullCalendar 的 API 方法renderEvent来创建这样的事件。但是,尽管我的代码运行没有错误,并且我可以看到提示说哪个插槽已被单击,但它不会在日历上呈现这样的新事件。

有没有其他方法可以做到这一点,或者我的代码做错了什么?

任何建议将不胜感激,非常感谢。

0 投票
3 回答
6295 浏览

javascript - 如何将 UTC 日期格式字符串解析为本地日期时间?

我目前正在使用jQuery fullcalendar 插件,但我遇到了一个关于英国夏令时的问题。夏令时生效后,小时将显示一个小时异相。

问题似乎与插件解析功能有关。有人可以为我提供将包含“Z”恶魔化的UTC字符串解析为本地日期时间以供显示的功能吗?

0 投票
2 回答
1464 浏览

jquery - jquery fullcalendar 和周历

如何在全日历中获取周历添加事件功能?