fullcalendar - 全日历调度程序源
问题描述
我应该看到 2 列,“A 室”和“B 室”。但是,我只能看到一列没有。请让我知道我错过了什么。先感谢您
<script>
$(function() {
// page is now ready, initialize the calendar...
$('#calendar').fullCalendar({
schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives',
// put your options and callbacks here
defaultView: 'agendaDay',
events: [
// events go here
],
Resources: [
{ id: 'a', title: 'Room A' },
{ id: 'b', title: 'Room B', eventColor:'green'}
]
})
});
</script>
解决方案
您的资源已大写。您需要将其更改为小写
resources: [
{ id: 'a', title: 'Room A' },
{ id: 'b', title: 'Room B', eventColor:'green'}
]
推荐阅读
- c++ - 具有非专用模板参数的虚拟方法
- java - OpenCV Java - 改变像素颜色
- css - 如何使引导程序 4 列高与行高相同
- python - Python pandas时间序列数据框:仅返回星期五数据
- bixby - 在对话框中添加音频 (Bixby)
- google-app-engine - Laravel 项目在本地主机上运行完美,在 GAE 上响应错误 500
- c# - 需要关于数据库表合并工具的建议
- python - 使用 Pandas 比较 Python 中的两个 Excel 工作表
- python-3.x - 将带有列表值的字典插入到 web2py 中的数据库中
- java - 如何在我的 Android 应用程序的 textview 中添加泰米尔语单词