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.

How to define the views to display

Thread ID:

Created:

Updated:

Platform:

Replies:

127984 Dec 22,2016 02:07 PM Dec 27,2016 11:03 AM ASP.NET Core 3
loading
Tags: Schedule
dsapo
Asked On December 22, 2016 02:07 PM

Hi Support:

We need to display the schedule with only the following views:

Day, Week, Month

and hide the rest (Agenda, etc).

We dont know how to define these in the views property

<ej-schedule views="">

Thanks in advanced.

David

Karthigeyan Krishnamurthi [Syncfusion]
Replied On December 23, 2016 03:37 AM

Hi David, 
 
Thank you for contacting Syncfusion support. 
 
Scheduler view can be customized using views property, kindly use the below code example to the restrict the views in Schedule. 
 
<Code> 
@{List<string> view = new List<string>() { "Day", "Week", "Month"};}   
 
<ej-schedule id="Schedule1" width="100%" height="525px" current-date="new DateTime(2015, 11, 8)" views="view" current-view="Week"> 
    <e-appointment-settings datasource="Appoint" id="Id" subject='"Subject"' start-time='"StartTime"' end-time='"EndTime"' description='"Description"' all-day='"AllDay"' recurrence='"Recurrence"' recurrence-rule='"RecurrenceRule"'> 
    </e-appointment-settings> 
</ej-schedule> 
</Code> 
 
Regards, 
Karthigeyan 


dsapo
Replied On December 23, 2016 10:13 AM

Thanks for your quick response.

Sellakumar [Syncfusion]
Replied On December 27, 2016 11:03 AM

Hi David, 
  
Thanks for your update. Kindly let us know, if you need any further assistance - we are happy to assist you. 
  
Regards, 
Sellakumar K

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.

;