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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to define the views to display

Thread ID:





127984 Dec 22,2016 07:07 PM UTC Dec 27,2016 04:03 PM UTC ASP.NET Core 3
Tags: Schedule
Asked On December 22, 2016 07:07 PM UTC

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.


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

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. 
@{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"'> 

Replied On December 23, 2016 03:13 PM UTC

Thanks for your quick response.

Sellakumar [Syncfusion]
Replied On December 27, 2016 04:03 PM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon