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

TimeScale returning error

Thread ID:

Created:

Updated:

Platform:

Replies:

142437 Feb 4,2019 05:26 PM UTC Feb 5,2019 05:39 AM UTC React - EJ 2 1
loading
Tags: Schedule
Pavan Kumar
Asked On February 4, 2019 05:26 PM UTC

Hello,

I want the popup open form, from and to dates fields to display a difference of 30 minutes. I have include the below code to my scheduleComponent however it returns the below error.

Code

<ScheduleComponent width='100%' height='755px' cssClass='schedule-date-header-template' showHeaderBar={true} showQuickInfo={false} currentView='Month' ref={t => this.scheduleObj = t} eventSettings={{
dataSource: filtered_data_update,
fields: { id: 'requestId', subject: { name: 'tenantName' }, location: { name: 'zoneName' }, startTime: { name: 'startDateTime', validation: { required: true } }, endTime: { name: 'stopDateTime', validation: { required: true } }, RecurrenceRule: { name: 'RecurrenceRule' }, zoneId: { name: 'zoneId' } },
enableTooltip: true,
tooltipTemplate: this.template.bind(this),
}}
editorTemplate={this.editorTemplate}
popupOpen={this.onPopupOpen.bind(this)}
cellDoubleClick={this.cellDoubleClick.bind(this)}
renderCell={this.onRenderCell.bind(this)}
allowDragAndDrop={true}
eventRendered={this.onEventRendered.bind(this)} actionBegin={this.onActionBegin.bind(this)} actionComplete={this.onActionComplete.bind(this)}
refreshEvents={this.refreshEvents.bind(this)}
created={this.onCreate(filtered_data_update)}
timeScale={ { enable: true, interval: 60, slotCount: 2 }}
>

<Inject services={[Day, Week, WorkWeek, Month, Agenda, Resize, DragAndDrop]} />
</ScheduleComponent>



error:

×
1 of 2 errors on the page
TypeError: Cannot read property '0' of undefined




Karthigeyan Krishnamurthi [Syncfusion]
Replied On February 5, 2019 05:39 AM UTC

 
Thank you for contacting Syncfusion support. 
 
We have checked the reproted scenario and Schedule is rendered without any script error. We have prepared the below sample for your reference and suspect that customization used in your sample could be the cause. Kindly try the sample and if the issue persists, try to reproduce the error in a sample and revert else share your complete code example/runnable sample (if possible) to serve you better. 
 
Note: By default, Scheduler time internval will be 30mins.  
 
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.

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

;