fullcalendar-3 - FullCalendar 3.X 垂直排序不使用“开始”
问题描述
我正在使用 PHP 和 FullCalendar 3.x 开发应用程序。FullCalendar 是否可以仅根据非标准事件数据对每日条目进行垂直排序,而与“开始”无关?我知道并尝试了“eventOrder”选项。但是,即便如此,“开始”总是被考虑在内。我想仅对“标题”或其他一些事件数据进行排序,而将“开始”排除在外。以下是 PHP 后端生成并在“eventSources”选项中检索到的 JSON 示例:
[
{ "eid": "0123456",
"isFrontOffice": false,
"isChief": false,
"isManager": false,
"recurringSequence": "1",
"id": "1629226624",
"calendarID": "1629226624",
"title": "CC Sabathia",
"lastName": "Sabathia",
"approverDisplayName": "John Q. Public",
"centerID": "BFM",
"assignedID": "BFM",
"leaveType": "TR",
"leaveCategory": "w",
"classLabel": null,
"classXML": null,
"requestForSelf": "1",
start": "2021-09-10T09:00",
"end": "2021-09-10T15:00",
"originalStartDate": "2021-09-10T09:00",
"isAllDay": false,
"isRecurring": "0",
"recurringDuration": "d",
"rangeOfOccurrence": "ea",
"endBy": null,
"numberOfRecurrences": "10",
"dowDays": "[]",
"shiftChange": "0",
"shiftTourID": null,
"shiftTourName": "",
"cipsNum": "",
"createDate": "2021-08-17T18:57",
"createdBy": "0123456",
"updateDate": null,
"updatedBy": null,
"resubmit": "0",
"notes": "The In's and Out's of Burgers and Fries",
"isApproved": "1",
"approvedBy": "2426795",
"approvalDate": "2021-08-18T12:11",
"isDenied": "0",
"deniedBy": null,
"deniedDate": null,
"flexGenerated": false,
"centerColor": "#5293A3",
"beginPayPeriod": "2021-08-29 00:00:00",
"endPayPeriod": "2021-09-11 23:59:59",
"displayName": "CC Sabathia",
"leaveTypeTitle": "Training",
"recurEvery": "1",
"originalEndDate": "2021-09-10T15:00",
"hasBeenViewed": "0",
"userAssignedID": "BFM",
"userCenterID": "BFM",
"editable": false
}]
解决方案
推荐阅读
- unity3d - 是否有将 SVG 导入 Unity android 游戏的免费方法?
- linux - 如何根据文本文件将文件移动到子目录
- jquery - jQuery模糊代码影响整个块
- android - 导航找不到 xml 菜单
- shiny - shinyTree:超过 3 个层级
- node.js - 如何添加数据以自动将数据添加到每个 Express res.render 调用?
- typescript - Array 和 Object 类型的 Typescript 联合
- extjs - 一些按钮后面的奇怪边框[EXTJS 6.5.2]
- azure - Azure 自动化 - 续订 RunAsAccount 证书
- javascript - 仅在选中广播按钮时才需要输入字段 - Angular 4