最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Display three months in Full Calendar - Stack Overflow

programmeradmin0浏览0评论

Is there any way to display 3 consecutive months in the Fuill Calendar. I have to work with the month view and I searched a lot but I haven't found any solution. this what I want to do. More details : I'm using Javascript I tryed this but it didn't do what I want exactly.

var calendar = $('#calendar1').fullCalendar({
            header: {
                left: 'prev,next today',
                right: 'title'
            }
        });
        var calendar = $('#calendar2').fullCalendar({
            header: {
                left: 'prev,next today',
                right: 'title'
            }
        });
        var calendar = $('#calendar3').fullCalendar({
            header: {
                left: 'prev,next today',
                right: 'title'
            }
        });

Is there any way to display 3 consecutive months in the Fuill Calendar. I have to work with the month view and I searched a lot but I haven't found any solution. this what I want to do. More details : I'm using Javascript I tryed this but it didn't do what I want exactly.

var calendar = $('#calendar1').fullCalendar({
            header: {
                left: 'prev,next today',
                right: 'title'
            }
        });
        var calendar = $('#calendar2').fullCalendar({
            header: {
                left: 'prev,next today',
                right: 'title'
            }
        });
        var calendar = $('#calendar3').fullCalendar({
            header: {
                left: 'prev,next today',
                right: 'title'
            }
        });

Share Improve this question edited Apr 19, 2016 at 16:53 Nadia asked Apr 19, 2016 at 16:34 NadiaNadia 2091 gold badge4 silver badges12 bronze badges 2
  • Please provide a Minimal, Complete, and Verifiable example of your problem. Please read the help center, specifically How do I ask a good question? – evolutionxbox Commented Apr 19, 2016 at 16:36
  • provide more details on the problem. are you trying in java script or any other UI ..? if java script , did you try JQuery datepicker ..? – Nuthan Kumar Commented Apr 19, 2016 at 16:44
Add a ment  | 

1 Answer 1

Reset to default 5

I Just Found the solution for this

fcViews.month = {
'class': MonthView,
duration: { months: 3 },
defaults: {
    fixedWeekCount: false
}};
发布评论

评论列表(0)

  1. 暂无评论