dhtmlxscheduler 修改 增加日程管理的框并修改其默认内容。求大神拿分

打工仔的一千零一夜 2016-03-25 12:21:01
我前几天在做日程管理的界面,发现一个符合我们项目的界面效果,但是我弄了几天,不知道怎么修改其中内容


************我想在添加新建日程里面多加几个按钮



************这里面还有默认的内容,我想去掉,不知道怎么去掉。





******************* 这个框我想去掉或者能修改其中的样式我也就得行,就是觉得太丑了

因为这是我从官网下载的附上地址,希望大家能给我一点帮助!分数不多,请大神笑纳

这是整个页面地址:http://docs.dhtmlx.com/scheduler/samples/05_calendar/05_plain_structure.html

这个是官网地址:http://docs.dhtmlx.com/scheduler/index.html
...全文
321 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
丨十一丨 2019-12-18
  • 打赏
  • 举报
回复
我这边也在头疼,如何让时间线从 8:00开始 到而不是0点开始
  • 打赏
  • 举报
回复
经过我一点点努力,只要一点击就会出现这个效果,我勉强可以接受了,
代码如下
<script type="text/javascript" charset="utf-8">
var prev = null;
var curr = null;
var next = null;

function doOnLoad() {
//scheduler.config.multi_day = true;
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.config.prevent_cache = true;
scheduler.config.first_hour = 4;
scheduler.config.limit_time_select = true;
scheduler.locale.labels.section_location = "Location";
scheduler.config.details_on_create = true;
scheduler.config.details_on_dblclick = true;
scheduler.config.prevent_cache = true;
scheduler.config.multi_day = true;

scheduler.config.event_duration = 30;
scheduler.config.auto_end_date = true;
scheduler.config.details_on_create=true;
scheduler.config.details_on_dblclick=true;


scheduler.locale.labels.section_selectme = "共享类型";
var pizza_size = [
{ key: 1, label: '全体教师' },
{ key: 2, label: '上层领导' },
{ key: 3, label: '行政人员' }
];
scheduler.config.lightbox.sections = [
{name:"description", height:130, map_to:"text", type:"textarea" , focus:true },
{name:"标题", height:43, type:"textarea", map_to:"details" },
{ name:"selectme", height: 58, options: pizza_size, map_to:"radiobutton_option", type:"radio", vertical: true },
{name:"time", height:72, type:"time", map_to:"auto"}
];

//初始化
scheduler.init('scheduler_here',new Date(2015,7,11),"week");
//加载
scheduler.load("./data/events.xml");
var calendar = scheduler.renderCalendar({
container:"cal_here",
navigation:true,
handler:function(date){
scheduler.setCurrentView(date, scheduler._mode);
}
});
scheduler.linkCalendar(calendar);
scheduler.setCurrentView(scheduler._date, scheduler._mode);
}
这是主要代码,完整的代码看内容就知道,讨厌伸手党

然后我就有疑问:如何把数据传过来,如何跟java相关联,如何保存数据,如何删除数据,修改数据。这是一个难点!研究当中。
  • 打赏
  • 举报
回复
  • 打赏
  • 举报
回复
  • 打赏
  • 举报
回复
  • 打赏
  • 举报
回复
你能改成中文的就不容易了
  • 打赏
  • 举报
回复
引用 2 楼 qnmdcsdn 的回复:
mark一下,晚上回去看看这是啥
好的
  • 打赏
  • 举报
回复
mark一下,晚上回去看看这是啥

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧