Organizational Chart is not rendering

Hey I want to make the organizational chart for my organizations data. I tried the sample code provided here (Organizational Chart Demo) and it worked. Then I replaced the data with my own data and it is not working. I have around 400 employees records, maybe it doesn't work for large datasets? I also tried finding issues with my dataset (maybe an employee id is repeating, or maybe an employee doesn't have a manager, but found no issues).

I am using: 

  • Blazor Server
  • .NET SDK 6.0.201
  • Syncfusion.Blazor.Diagram 19.4.0.56

Can you check if there is a problem with the component? I am also attaching the code file for your reference. Thanks!



Attachment: OrgChart_e003c9bc.zip


2 Replies 1 reply marked as answer

SY syed March 31, 2022 06:39 AM UTC

Resolved the issue why it was not rendering. The issue was that the CEO or the parent should be at index 0 (at the top) of the list. It should be fixed or mentioned in the documentation (because lists are randomly ordered and the parent will not be always at the top).


Marked as answer

RA Ranjitha Amirthalingam Syncfusion Team March 31, 2022 02:36 PM UTC

We are happy that your issue is resolved. Please let us know if you need further assistance on this.


Loader.
Up arrow icon