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.
Unfortunately, activation email could not send to your email. Please try again.

Multiple Month View

Thread ID:

Created:

Updated:

Platform:

Replies:

123769 Apr 19,2016 12:06 PM Apr 20,2016 01:17 AM JavaScript 1
loading
Tags: ejSchedule
Lory
Asked On April 19, 2016 12:06 PM

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

Karthigeyan Krishnamurthi [Syncfusion]
Replied On April 20, 2016 01:17 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;