Two quick questions...
1. Is it possible to have more than one line of text inside the heading of a datatable?
2. Is it possible to have no heading on a datatable?
Has anyone succeeded in doing either of these things?
Thanks,
Vince.
Datatable Headings
-
- Posts: 27
- Joined: 29 Jan 2010, 12:05
[ Primefaces 2.2: Java 1.5: JSF 2.0: Apache Tomcat 6.0 ]
-
- Posts: 27
- Joined: 29 Jan 2010, 12:05
In answer to my own questions:
Yes, in the header facet have something like1. Is it possible to have more than one line of text inside the heading of a datatable?
Code: Select all
<h:outputText value="First<br>Name" />
No. Leaving the headings blank results in small, empty boxes (about 5px high) being displayed above each column. I haven't found a way to get rid of these boxes.2. Is it possible to have no heading on a datatable?
[ Primefaces 2.2: Java 1.5: JSF 2.0: Apache Tomcat 6.0 ]
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
For 2, can you try this css approach;
Code: Select all
.yui-skin-sam .yui-dt thead {
display:none;
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 33 guests