We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Multiple Month View

Hi team,

Is there a way to display multiple months in a calendar? My client want to see two months displayed side by side. Thanks

1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team April 20, 2016 05:17 AM UTC

Hi Lory,

Thank you for contacting Syncfusion support.

Your requirement is to display multiple months in the Schedule which can be achieved by using CustomView feature. We have prepared a sample for your requirement. Please refer the below link:
http://jsplayground.syncfusion.com/c0dy05hr

In the above link we have rendered the Schedule to display two months simultaneously. Refer to the code example used in the above sample.
<Code>

$("#Schedule1").ejSchedule({

                ----------

                ----------

                views: ["CustomView"],

                currentView: ej.Schedule.CurrentView.CustomView,

                renderDates: {  // Configure the custom date

                    start: new Date(2014, 5, 1), // here we can specify the month start date

                    end: new Date(2014, 6, 26) // here we can specify the month end date

                },

                ---------

                ---------
            });
</Code>

Kindly check the below UG link to know more about the CustomView feature.
UG Link: http://help.syncfusion.com/js/schedule/views#custom

Regards,
Karthigeyan


Loader.
Up arrow icon