Looking at the example below (for local data source)
https://www.telerik.com/kendo-vue-ui/components/gantt/data-binding/
Clicking 'Add Task' causes the child tasks to be duplicated + when choosing 'Add Child' the whole thing hangs.
I see the same behaviour in my own project - is there some other code required or is this a bug?
4 Answers, 1 is accepted
HI Al,
I will check the reported behavior in detail and will give more feedback about it in the next few hours.
Regards,
Petar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Hi Al,
Thank you for reporting the issue with the Gantt demo. The reason for the behavior in the linked demo are the IDs of the different dataSource items. To be more precise, the reason for the issue is the fact that 0 is not a valid value of the id property of a dataSource item.
Here is a StackBlitz example that uses the local datasource example you've sent me. The changes applied to this example are only in the ids and the parentIds of the different datasource items.
Check the example and let me know if everything works correctly in it.
I've updated your Telerik points as a sign of gratitude for reporting the issue.
Regards,
Petar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
The original problem seems to be sorted but something is still odd, by fluke I noticed the behaviour below which creates duplicate 'New task' in your StackBlitz example:
Click 'Main Project'
Click 'Add Above' which creates 'New Task' at the top
Click and drag 'Task 1' to be child of 'New Task'
Click and drag 'Task 1' to be child of 'Main Project' (it's original position)
At this point there are two 'New task' object where there should only be one
Hi,
Thank you for elaborating the issue.
In general the local DataSource scenario that is used here is rather not recommended for a CRUD operations scenarios. In CRUD cases need to create a model and also handle correctly the create, update, delete methods of the DataSource as for example it is done in our remote DataSource example - https://stackblitz.com/run/?file=src/main.vue.
Hope this information will be helpful. If you have further questions please let me know.
Regards,
Plamen
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.