最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

javascript - Display three months in Full Calendar - Stack Overflow

matteradmin6PV0评论

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
}};
Post a comment

comment list (0)

  1. No comments so far