定制完整日历的日程视图 [英] Customizing the agendaWeek view of Full Calender

查看:406
本文介绍了定制完整日历的日程视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过交换轴来定制完整日历的agendaweek视图。目前,一周中的七天显示在顶部,左侧显示时间段(上午12点至晚上11:59)。我想交换职位。



基本上我想通过这样做创建学校时间表。



任何关于如何做到这一点的指针?

解决方案

您无法自定义完整日历的议程周视图来交换坐标轴。
它仅显示一个或多个垂直运行时间段的列,请参阅。您正在寻找的功能根本就没有在agendWeek视图中实现。


有关如何执行此操作的任何指针?


您需要扩展完整日历并添加新的视图,例如 agendaWeekAxesSwapped ,并且他们是因为功能请求而做的:



一个新视图,如日程视图,但轴翻转
https://github.com/fullcalendar/fullcalendar/issues/1753

新视图被称为时间轴,可作为商业插件使用:


当您阅读许可证时,您会看到它具有针对学校和大学的非商业知识共享:
http://fullcalendar.io/scheduler/license/



这意味着您可以简单地下载并使用免费试用版,当您属于CC许可证时,如下所述: http:// f ullcalendar.io/scheduler/download/






另类:jquery-timetable



也许你可以切换到另一个JS包。



对于学校时间表来说,一个好的但不是很好的选择是jQuery Timetable。 p>


I want to customize the agendaWeek view of full calender, by swapping the axes. Currently the seven days of the week are displayed on the top and the time slots (12 am to 11:59 pm) are displayed on the left. I want to swap the positions.

Basically I want to create a school timetable by doing this.

Any pointers on how to do this?

解决方案

You can't customize the agendaWeek view of Full Calender to swap the axes. It only displays one or more columns with time slots running vertically, see source. The feature your are looking for is simply not implemented on the agendWeek view.

Any pointers on how to do this?

One would need to extend Full Calendar and add a new View, e.g. agendaWeekAxesSwapped and they did because of a feature request:

A new view, like Agenda view, but with axis flipped https://github.com/fullcalendar/fullcalendar/issues/1753

The new view is called "timeline" and is available as a commercial addon: http://fullcalendar.io/scheduler/

How to get started?

When you read the license you will see, that it has a "Non-Commercial Creative Commons" for schools and universities: http://fullcalendar.io/scheduler/license/

That means you can simply download and use the Free Trial version, when you fall under the CC-license, as described here: http://fullcalendar.io/scheduler/download/


Alternative: jquery-timetable

Maybe you can switch to another JS package.

A good, but not well maintained alternative for a school timetable is jQuery Timetable.

这篇关于定制完整日历的日程视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆