我对dhtmlx调度程序有一些要求,在这里我想编辑事件并添加一个文本框和一个按钮。你能建议我如何定制.js(压缩)文件。 是否有任何单独的.js文件可用于开发版本。 如果有的话请建议我。
谢谢, 拉哈西克哈
答案 0 :(得分:2)
答案 1 :(得分:1)
我找到了这个解决方案:
修改文件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",