This is a migrated thread and some comments may be shown as answers.

Error When the data type of the id and parentId to String

2 Answers 88 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Ikou
Top achievements
Rank 1
Ikou asked on 14 Oct 2015, 01:54 AM

Hello, 

 http://dojo.telerik.com/alifO/25

If the id and parentId of model and String as this sample, it is impossible task added when the Add Task and Add Child.
If you look at the console log it seems to have become in [Maximum call stack size exceeded].
Is it should be How to deal with id and parentId as String?

2 Answers, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 14 Oct 2015, 07:29 AM
Hi,

Since you are using guid-s for the id fields, you have to provide a default value for the ID field. Here's the modified dojo sample, in which a new guid is added as a default value:
http://dojo.telerik.com/alifO/27

Regards,
Bozhidar
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Ikou
Top achievements
Rank 1
answered on 19 Oct 2015, 09:31 AM

It went well in your favor. Thanks!

Tags
Gantt
Asked by
Ikou
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Ikou
Top achievements
Rank 1
Share this question
or