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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Syncfusion Angular Schedular documentation incorrect

Thread ID:

Created:

Updated:

Platform:

Replies:

143288 Mar 13,2019 01:42 AM UTC Mar 13,2019 11:55 AM UTC Angular 1
loading
Tags: ejSchedule
Byron
Asked On March 13, 2019 02:00 AM UTC

startHour endHour does not work as per Syncfusion Angular documentation 

This however does work...
app.component.html
<div class="container-fluid">
<ejs-schedule [startHour]="startHour" [endHour]="endHour" [currentView]="newViewMode" [views]='views' [eventSettings]='eventSettings' >
<e-view option='Day' [timeScale]="timeScaleOptions">e-view>
<e-view option='Week' [interval]="viewInterval" [isSelected]="isSelected">e-view>
ejs-schedule>
div>

app.component.ts
public startHour: string = '08:00';
public endHour: string = '21:00';

Syncfusion Angular Documention 

screenshot2




Karthigeyan Krishnamurthi [Syncfusion]
Replied On March 13, 2019 11:55 AM UTC

Hi Byron,     
 
Thank you for contacting Syncfusion support. 
 
We would like to inform that our documentation is correct. In your code example, parent tag <e-views> is not used which is cause for the issue. Kindly refer the below code example. 
 
<ejs-schedule #scheduleObj width='100%' height='650px'  [selectedDate]="selectedDate" [eventSettings]="eventSettings" [currentView]="currentView" [views]='view' 
              (eventRendered)="oneventRendered($event)"> 
            <e-views> 
                <e-view option="Day" startHour='10:00' endHour='18:00' ></e-view> 
                <e-view option="Week" startHour='10:00' endHour='18:00' ></e-view> 
            </e-views> 
        </ejs-schedule> 
 
Regards, 
Karthi 


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.

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

Live Chat Icon For mobile
Live Chat Icon