FullCalendar无法在日期单元格中单击按钮

时间:2015-06-15 17:58:31

标签: fullcalendar

在fullcalendar中,我希望每天都有一个可点击的按钮。但是,当在单元格中添加元素时,该按钮会被一个位于其上的表格所覆盖,从而阻止了点击。

代码:

  $('#calendar').fullCalendar({
    events: [{
      start: new Date(),
      editable: true,
    }],
    dayRender: function(date, cell){
        $el = $('<a href="http://www.google.com">click</a>');
        cell.prepend($el);  
      }
})

Plunkr

0 个答案:

没有答案
相关问题