带有复选框的Jquery fullcalendar插件 [英] Jquery fullcalendar plugin with check-box

查看:126
本文介绍了带有复选框的Jquery fullcalendar插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想知道是否有任何fullcalendar jquery插件支持旁边的复选框。目标只是在完成的任务上添加一些标记。

解决方案

您可以随时潜入代码中。
$ b

我编辑了slotSegHtml函数,这里是结果:

http://jsfiddle.net/V1tOr/HZjVt/11/ b
$ b

注意已完成道具在事件中:

  {
title:'Lunch',
start:new Date(y ,m,d + 1,12,0),
end:new Date(y,m,d + 1,14,0),
allDay:false,
完成:true
}


Just wondering if there is any fullcalendar jquery plugin out there which supports check-box next to event. aim is just to put some marking on completed task.

解决方案

you can always dive into the code.

I edited "slotSegHtml" function and here is the result:

http://jsfiddle.net/V1tOr/HZjVt/11/

notice the "completed" prop in the event:

{
    title: 'Lunch',
    start: new Date(y, m, d+1, 12, 0),
    end: new Date(y, m, d+1, 14, 0),
    allDay: false,
    completed : true
}

这篇关于带有复选框的Jquery fullcalendar插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆