I Try to use the Filter by column, but do not show me the filter.. While in DataTable you can see properly...Some body know what happend in this case?
My Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.prime.com.tr/ui">
<f:view contentType="text/html">
<h:head >
<link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/ui-lightness/skin.css" />
</h:head>
<h:body>
<h:form prependId="false">
<p:treeTable value="#{documentsController.root}" var="nodoRoot">
<p:column filterBy="#{documentsController.root.name}">
<f:facet name="header">Name</f:facet>
<h:outputText value="#{nodoRoot.name}" />
</p:column>
<p:column>
<f:facet name="header">Size</f:facet>
<h:outputText value="#{nodoRoot.size}" />
</p:column>
</p:treeTable>
</h:form>
</f:view>
</html>
Thenks Very much!!
"FilterBy" in TreeTable not work .I'm doing something wrong?
-
- Posts: 23
- Joined: 22 Jul 2010, 22:19
- Location: Argentina - Buenos Aires - Escobar - Ing. Maschwitz
Primefaces-2.1 - GlassFish Server 3.0.1 - Windows 7 Enterprise - Maven
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
filterBy is not supported in treeTable.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 39 guests