全部扩展列表
dhtmlxScheduler 包含若干扩展,为标准行为添加额外功能。
要使用扩展,请通过 plugins() 方法激活它。
在 v6.0 版本中,扩展代码文件已从调度器代码库的 ext 文件夹中移除,并合并到 dhtmlxscheduler.js 文件中。
如果你使用的是 dhtmlxScheduler 5.3 及更早版本,请查阅 迁移文章。
Active Links
将 Month(月视图)和 Week(周视图)中的日期数字显示为可点击的链接,点击后在指定的视图中打开相关日期。
scheduler.plugins({
active_links: true
});
相关资源
文章: Month View
API: active_link_view
Agenda View
Agenda 视图的代码文件。
scheduler.plugins({
agenda_view: true
});
相关资源
文章: Agenda View
示例: Agenda view
All Timed
以常规方式显示多日事件(如同将多天事件显示为单日事件)。
scheduler.plugins({
all_timed: true
});
相关资源
API: all_timed
示例: Displaying multi-day events in the regular way
Collision
管理时间槽中的事件数量。
scheduler.plugins({
collision: true
});
相关资源
文章: Preventing Double Events in a Time Slot
示例: Controlling the number of events in a time slot
Container Autoresize
为调度器容器启用自动调整大小(内容适配容器尺寸)。
scheduler.plugins({
container_autoresize: true
});
相关资源
文章: dhtmlxScheduler in Plain JS/HTML
API: container_autoresize
示例: Autoresizing the scheduler container
Cookie
将调度器当前状态(模式和日期)保存在 Cookies 中。
scheduler.plugins({
cookie: true
});
相关资源
Daytimeline
此扩展仅在 PRO 版本可用
Timeline 视图的 “Days” 模式的代码文件。
scheduler.plugins({
daytimeline: true
});
相关资源
文章: Timeline View
Drag-n-Drop between Schedulers
此扩展仅在 Scheduler PRO 版本(商业许可(自 2021 年 10 月 6 日起)、企业版和 Ultimate 许可证)中可用。
允许在多个调度器之间进行拖放操作,从一个调度器拖动事件到另一个调度器,反之亦然。
scheduler.plugins({
drag_between: true
});
相关资源
文章: Drag-and-drop between Schedulers
Editors
用于 Lightbox 的 radio、combo、checkbox 控件的代码文件。
scheduler.plugins({
editors: true
});
相关资源
文章: Lightbox Editors
示例: Radio button in the lightbox
Expand
在调度器右上角添加 “expand” 图标。点击该图标可将调度器的尺寸从原始大小切换为“全屏”,再切换回原始大小。
scheduler.plugins({
expand: true
});
相关资源
API: expand(), collapse()
事件: onBeforeExpand, onBeforeCollapse, onExpand, onCollapse
示例: Full-screen view
Export service
提供启用在线导出服务的选项。
scheduler.plugins({
export_api: true
});
相关资源
文章: Export to PDF, Export to PNG
Grid View
此扩展仅在 PRO 版本可用
Grid 视图的代码文件。
scheduler.plugins({
grid_view: true
});
相关资源
文章: Grid View
示例: Grid view
HTML Templates
允许将模板定义为 HTML 代码。
scheduler.plugins({
html_templates: true
});
相关资源
文章: Templates
示例: Specifying templates with HTML
Keyboard Navigation
启用键盘导航。
scheduler.plugins({
key_nav: true
});
相关资源
示例: Keyboard Navigation and WAI-ARIA - Flat Skin
示例: Keyboard navigation in the scheduler
Legacy
启用已弃用的 API。
scheduler.plugins({
legacy: true
});
相关资源
文章: Migration From Older Versions
Limit
提供阻止和突出显示日期的功能。
scheduler.plugins({
limit: true
});
相关资源
文章: Blocking and Marking Dates
示例: Limiting dates for creating events
Map View
Map 视图的代码文件。
scheduler.plugins({
map_view: true
});
相关资源
文章: Map View
示例: Map view
Mini Calendar (Date Picker)
一个用于迷你日历的插件。
scheduler.plugins({
minical: true
});
相关资源
文章: Mini Calendar (Date Picker), Time and Date
示例: Mini calendar in the scheduler header
Multisection
此扩展仅在 PRO 版本可用
允许在 Timeline 视图中将事件分配到多个部分,或在 Units 视图中分配到多个单元。
scheduler.plugins({
multisection: true
});
相关资源
文章: Timeline View, Units View
API: multisection
示例: Multisection events in Timeline and Units view
Multiselect
用于 Lightbox 的 multiselect 控件的扩展。
scheduler.plugins({
multiselect: true
});
相关资源
文章: Lightbox Editors
示例: Multiselect control in the lightbox
Multisource
提供从多个数据源加载数据的功能。
scheduler.plugins({
multisource: true
});
相关资源
文章: Loading Data
示例: Loading data from multiple sources
Outerdrag
允许从外部 DHTMLX 组件(如 dhtmlxTree)拖拽事件。
scheduler.plugins({
outerdrag: true
});
相关资源
示例: Integration with dhtmlxTree
PDF
提供导出为 PDF 文档的功能。
Quick Info
提供一个包含事件详情的弹出框。
scheduler.plugins({
quick_info: true
});
相关资源
文章: Mobile Responsive Scheduler
Readonly
为 Lightbox 和特定事件提供只读模式。
scheduler.plugins({
readonly: true
});
相关资源
文章: Read-only Mode
Recurring
为重复事件提供支持。
scheduler.plugins({
recurring: true
});
相关资源
文章: Recurring Events
示例: Recurring events
Recurring Legacy
重复事件的旧引擎。
scheduler.plugins({
recurring_legacy: true
});
相关资源
文章: Recurring Events (up to v7.1)
Serialize
提供序列化为 ICal、XML、JSON 格式的支持。
scheduler.plugins({
serialize: true
});
相关资源
文章: Data Serialization to XML, JSON, iCal
示例: Serialize scheduler events
Timeline
此扩展仅在 PRO 版本可用
Timeline 视图插件。
scheduler.plugins({
timeline: true
});
相关资源
文章: Timeline View
示例: Bar mode
Tooltip
为事件启用工具提示。
scheduler.plugins({
tooltip: true
});
相关资源
文章: Tooltips
示例: Tooltips
Treetimeline
此扩展仅在 PRO 版本可用
用于 Timeline 视图的 “Tree” 模式的扩展。
scheduler.plugins({
treetimeline: true
});
相关资源
文章: Timeline View
示例: Tree mode
Units
此扩展仅在 PRO 版本可用
Units 视图扩展。
scheduler.plugins({
units: true
});
相关资源
文章: Units View
示例: Units view
URL
将调度器的状态(日期、事件 ID、视图)保存在 URL 中。
例如:
10_url_date_plugin.html#date=2027-08-01,mode=month
10_url_date_plugin.html#event=15
scheduler.plugins({
url: true
});
相关资源
示例: Saving the scheduler state in URL
Week Agenda
此扩展仅在 PRO 版本可用
Week Agenda 视图的代码文件。
scheduler.plugins({
week_agenda: true
});
相关资源
文章: Week Agenda View
示例: WeekAgenda view
Year
Year 视图的代码文件。
scheduler.plugins({
year_view: true
});
相关资源
文章: Year View
示例: Year view