我对 dhtmlx 调度程序有一些要求,在这里我想编辑事件并添加一个文本框和一个按钮。您能否建议我如何自定义 .js(压缩)文件。是否有任何单独的 .js 文件可用于开发版本。如果有请建议我。
谢谢, 拉贾塞卡
我对 dhtmlx 调度程序有一些要求,在这里我想编辑事件并添加一个文本框和一个按钮。您能否建议我如何自定义 .js(压缩)文件。是否有任何单独的 .js 文件可用于开发版本。如果有请建议我。
谢谢, 拉贾塞卡
我找到了这个解决方案:修改文件dhtmlxscheduler.js
我的意思是 section
字段:
lightbox: {
sections: [
{ name: "description", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Note", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Status", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Type", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Sequence", height: 40, map_to: "text", type: "textarea", focus: true },
{name: "time", height: 72, type: "time", map_to: "auto"}
]
},
和
labels:{
dhx_cal_today_button:"Today",
day_tab:"Day",
week_tab:"Week",
month_tab:"Month",
new_event:"Nouvelle Tache",
icon_save:"Save",
icon_cancel:"Cancel",
icon_details:"Details",
icon_edit:"Edit",
icon_delete:"Delete",
confirm_closing:"",//Your changes will be lost, are your sure ?
confirm_deleting:"Event will be deleted permanently, are you sure?",
section_description: "Description",
section_Note: "Note",
section_Status: "Status",
section_Type: "Type",
section_Sequence: "Sequence",
section_time:"Periode",