In the following example, the collapse and expand on the gantt tree list is not working: http://dojo.telerik.com/exIWoQeY
What am I missing?
2 Answers, 1 is accepted
0
Martin
Telerik team
answered on 17 Jul 2019, 02:43 PM
Hello Vaishali,
Thank you for the provided Dojo example. The issue is related to the character casing of some of the fields. In the provided example, I changed the "orderID" and "parentID" fields to the following:
{
id: 1,
title: "John Doe",
start: new Date("2014/10/10 10:10"),
end: new Date("2014/12/10 10:10"),
summary : true,
expanded: true,
orderId: 0,
parentId: null
}
Also, if you want the node to be expanded by default, you need "expanded" instead of "expand". Here is the modified version of your Dojo.
Feel free to ask if you have further questions.
Regards,
Martin
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.