search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Daypilot Scheduler Event List has an event having id : "undefined"

Asked by Thomas
7 years ago.

Hi Daypilot team,
I'm using DayPilot Scheduler for my project.
After the scheduler initials by using "dpPrdPkg.init();"

Before I bind the Event list to "dpPrdPkg", I tried to print out by using 2 commands
console.log(dpPrdPkg.events.list.length);
console.log(dpPrdPkg.events.list);

the corresponding result is
console.log(dpPrdPkg.events.list.length); >> 0
console.log(dpPrdPkg.events.list); >> please see the screenshot I attached

P/s: here is my version of Daypilot js file
DayPilot Pro
Copyright (c) 2005 - 2014 Annpoint s.r.o.
http://www.daypilot.org/
Use of this software is subject to license terms.
Version: 1418

Answer posted by Dan Letecky [DayPilot]
7 years ago.

The JavaScript Scheduler doesn't modify the "id" property of the event data object - I recommend checking your data source.

Note that this is a very old DayPilot version which is not supported anymore.

Answer posted by Thomas
7 years ago.

Note with thank, Dan Letecky.
I will check my data again.
Thomas

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.