3

我对 dhtmlx 调度程序有一些要求,在这里我想编辑事件并添加一个文本框和一个按钮。您能否建议我如何自定义 .js(压缩)文件。是否有任何单独的 .js 文件可用于开发版本。如果有请建议我。在此处输入图像描述

谢谢, 拉贾塞卡

4

2 回答 2

2

可以配置此表单(或灯箱)的详细信息。

有关如何执行此操作的文档在这里

无需为此编辑主要的 dhtmlx 源。

于 2012-11-07T17:29:29.043 回答
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",
于 2013-07-09T16:06:37.840 回答