If it doesn’t, what is the best way to implement expand/collapse functionality? May be there are some jQuery plugins built for this purpose or Kendo UI for jQuery has other component which fits better for building organizational chart. Any advice appreciated.
4 Answers, 1 is accepted
Thank you for taking the time to give us your thoughts and express your requirements.
The functionality you describe is not supported by the Kendo UI Diagram, but it has already been requested as a new feature by our users.
I encourage you to participate in the Kendo UI Feedback and Feature Request Portal in order to voice your opinion; if the proposed feature gets enough votes, developers will take notice and might implement it in future releases of Kendo UI. Here's a link to the already existing feature request.
Alternatively, you could take advantage of our professional Feature Customization Services; you can read more about them here.
Another Kendo UI Widget that is sometimes used to represent organizational data is the Kendo UI TreeList and you can find an example of an organizational chart in the following sample in our demos section.
I hope this helps!
Regards,
Eduardo Serra
Progress Telerik
Hello Eduardo,
I am following up to see if any progress has been made with the expand/collapse functionality for the Kendo Diagram component? We have a need for this functionality in our application as well.
The Diagram expand/collapse functionality is still not scheduled for implementation as a built-in feature. You could try using a custom approach like the one from the updated example that I sent in my last reply to the support thread you have opened:
https://dojo.telerik.com/oCIwAJuZ
Regards,
Tsvetina
Progress Telerik
Hello, Sami,
The feature is not yet scheduled for implementation. Please keep following the item in the Feedback Portal for further updates.
I have a code to simiulate it... I share with you here:
https://dojo.telerik.com/@scasab@smartware.com.mx/EWOMowEr
I need to add a button inside the diagram to end my project. If you have any advice, please tell me .
Hello, Sami,
I am sharing my response from the private ticket here as well.
The Diagram does not support standard HTML elements. Anything that is appended to it must be "drawn".
I looked through some older cases and I found the following forum thread that showcases something similar to what you're looking for:
https://www.telerik.com/forums/have-html-links-in-diagram-shape#3937733
I modified the example from the forum answer a bit to showcases a slightly different behavior:
https://dojo.telerik.com/@gdenchev/uyOHeLUg
When you click on one of the names in the Shape, an alert will appear with the first name of the person. When you click on the title, the title will be printed.
You can use this approach to extend the logic and achieve the desired outcome.
Best Regards,
Georgi