arya-blue
luna-amber
luna-blue
luna-green
luna-pink
nova-dark
nova-light
saga-blue
vela-blue
OrgChart - Filter Node Example
Demonstrates client-side node filtering based on the official OrgChart filter-node behavior via a clean OrgChart widget API.
Programmatic API demo: quick actions can trigger common searches from business workflows.
Source

<h:form id="filterForm">
        <h:panelGroup layout="block" style="margin:0 0 0.75rem 0;">
            <h:outputText value="Programmatic API demo: quick actions can trigger common searches from business workflows." />
        </h:panelGroup>

        <h:panelGroup layout="block" style="margin:0 0 0.75rem 0;">
            <p:commandButton type="button" value="Quick Filter: VP"
                onclick="PF('orgChartFilterWidget').filterNodes('VP', false); return false;" style="margin-right:0.5rem;" />
            <p:commandButton type="button" value="Quick Filter: Developer"
                onclick="PF('orgChartFilterWidget').filterNodes('Developer', false); return false;" style="margin-right:0.5rem;" />
            <p:commandButton type="button" value="Clear Programmatically"
                onclick="PF('orgChartFilterWidget').clearFilter(); return false;" />
        </h:panelGroup>

        <pe:orgchart id="orgChart"
                     widgetVar="orgChartFilterWidget"
                     value="#{filterOrgchartController.orgChartNode}"
                     filterable="true"
                     draggable="true"
                     exportButton="true"
                     pan="true"
                     zoom="true"
                     direction="t2b"
                     style="height:420px">
        </pe:orgchart>
    </h:form>
            
Components and more
Use Cases
Documentation pe:
Attributes (move mouse over the names to see data types)
Name Description
No attributes available for this component.
PrimeFaces Extensions Showcase - © 2011-2025,PrimeFaces: 15.0.16,PrimeFaces Extensions: 15.0.17-SNAPSHOT,JSF: Apache MyFaces JSF-2.3 Core Impl 2.3.10,Server: Apache Tomcat (TomEE)/9.0.82 (8.0.16),Build time: 2026-06-21 03:14