We need to display different properties per node in an orgchart or diagram. How can we accomplish this with different datasource schema's and templates?
Nikolay
Telerik team
commented on 24 Apr 2024, 10:34 AM
Hi Brad,
You can conditionally render different node templates for the Diagram to achieve the desired result. Here is a sample Dojo demo:
Thank you, however, that is not much help. Why is this constrained to a predefined model/datasource? This makes this "orgChart" useless for use other than exactly what Telerik built it for. We need flexibility to add properties as needed to each node. Is there another option in the Telerik library that is more robust!?!?
Nikolay
Telerik team
commented on 29 Apr 2024, 10:25 AM
| edited
Hi Brad,
Can you please share the specific case you are having? I need the fill scenario so I can think of a possible approach.
Hi Brad,
You can conditionally render different node templates for the Diagram to achieve the desired result. Here is a sample Dojo demo:
https://dojo.telerik.com/oxigiGom
The data source, however, cannot be different for the different nodes.
Regards,
Nikolay
Hi Brad,
Can you please share the specific case you are having? I need the fill scenario so I can think of a possible approach.
Regards,
Nikolay