0
有什么办法让fullcalendar使下拉功能与Bootstrap Datepicker相同?就像这张照片一样。 Fullcalendar下拉菜单。如何做到这一点?
有什么办法让fullcalendar使下拉功能与Bootstrap Datepicker相同?就像这张照片一样。 Fullcalendar下拉菜单。如何做到这一点?
有已经是公开的和接受的问题,要求这一点,你可以按照这里:https://code.google.com/p/fullcalendar/issues/detail?id=225
无论如何,你可以使用,例如,jQueryUI的日期选择器,并使用onSelect事件的变化时检测。然后,你只需要改变你的fullCalendar的日期。
所以你可以有这样的:
$(".date").datepicker({
onSelect: function(dateText) {
var selectedDate = this.value;
$('#calendar').fullCalendar('gotoDate', selectedDate);
}
});
你可以按照这个网址http://stackoverflow.com/questions/29355833/how-can-i-use-fullcalendar-io-as-a-键入日期选择器可能会有所帮助。你也可以找到我的评论。 – 2015-04-02 05:35:29