Post Reply
Posts: 2
Joined: 05 Dec 2018, 16:11

05 Dec 2018, 16:22

We are experimenting to use the <p:organigram> in one of our applications.
In the Org chart we want to build, WE DO NOT want to have collapsible in every node. So I setCollapsible(false) in certain nodes based on certain requirements/conditions in our Organization.However, when I setCollapsible(false) the org cart creates another level of nodes (In yellow). We do not need that level at all. How to get rid of that?

In essence, we always want to maintain a Two-Level org chart all the time.
I so not have an option in here to attach a figure. But in the email I sent you couple of times, I have attached a figure.
-K. Peeris

Posts: 2
Joined: 05 Dec 2018, 16:11

06 Dec 2018, 16:08

And also I think that the current OrgonigramNode class is not flexible enough. There must be a method in the OrganigramNode class to shut off (Do not display) a level of nodes if not required. I believe it should be pretty easy to do as I can see the rendered HTML for each node is controlled by a data-level = "#" property per node level.

Right now I am stuck and do not know how to get rid of the third level of nodes and their vertical connectors directly.

However I have a workaround to 'Hide' the third-level nodes using CSS. But I cannot get rid of the vertical connector lines. Do you have any idea how I could get rid of the vertical connector lines between second and third level nodes?

Posts: 4591
Joined: 29 Jun 2013, 12:38

12 Dec 2018, 09:15

Thanks a lot for the feedback. But, I think this issue is not related to PrimeFaces Designer API. Please use core forum or could you please create a github issue?

Best Regards,

Post Reply

Return to “PrimeFaces Theme Designer API”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest