Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orgchart empty when pid not in scope #64

Closed
hdbrinkmann opened this issue Apr 3, 2019 · 2 comments
Closed

Orgchart empty when pid not in scope #64

hdbrinkmann opened this issue Apr 3, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@hdbrinkmann
Copy link

In my scenario, orgcharts can be dynamically created by filtering external data, for example due to user rights. The Orgchart remains empty if the top node has a parent that is not in the scope of the data I sent into the nodes-array. Every node with a pid that is not an id in the current node array must be created as top level node.
Example: User has rights to see all employees in HR. Head of HR is id "HRHEAD", his pid is "CEO", but "CEO" is not in the nodes array.
Is there a chance to solve this problem in the orgchart control or the script I use to display the orgchart?

@BALKANGraph BALKANGraph added the enhancement New feature or request label Apr 7, 2019
@BALKANGraph
Copy link
Collaborator

Retested functionality has been implemented in the latest release

Test here: https://balkangraph.com/js/exp/64.html

@hdbrinkmann
Copy link
Author

Works as expected, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants