Update Treetable

UI Components for JSF
Post Reply
jonasromao
Posts: 1
Joined: 18 Nov 2014, 14:46

25 Apr 2017, 20:44

Hi i need help,

When updating a treetable select the same to work, I use a condition for the treetable to appear or not with the rendered property inside the treetable, when I update the id treetable appears but the component does not work.

<h:panelGroup id="treeTable">
<p:treeTable value="#{grupoController.rootTreeNode}" var="node" selectionMode="checkbox"
selection="#{grupoController.selectedNodes}" rendered="#{grupoController.viewTreetable}">


<p:column headerText="Name">
<h:outputText value="#{node.nome}" />
</p:column>
<p:column headerText="Size">
<h:outputText value="#{node.descricao}" />
</p:column>
</p:treeTable>
</h:panelGroup>

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 48 guests