Data Exporter ignores header text?
-
- Posts: 13
- Joined: 14 Nov 2010, 01:21
This seems a little inconsistent to me, but it looks like a Data Exporter ignores header text attribute in a p:column. I'm using 2.2 RC 2.
I don't think p:column has a header attribute. Try putting a facet with the name "header" inside the column, e.g.:
Code: Select all
<p:column>
<f:facet name="header">
<h:outputText value="This will be the header text" />
</f:facet>
<h:outputText value="This is in each table cell" />
</p:column>
-
- Posts: 13
- Joined: 14 Nov 2010, 01:21
sorry - I'm talking about the headerText attribute in p:column.
<p:column headerText="My Header">
<h:outputText value="#{myItem.someProperty}"/>
</p:column>
<p:column headerText="My Header">
<h:outputText value="#{myItem.someProperty}"/>
</p:column>
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
The data exporter doesn't support much of the datatable right now. See this thread:
http://primefaces.prime.com.tr/forum/vi ... f=3&t=5000
http://primefaces.prime.com.tr/forum/vi ... f=3&t=5000
-
- Information
-
Who is online
Users browsing this forum: No registered users and 44 guests