Datatable - Multiline Headings

UI Components for JSF
Post Reply
vjosullivan
Posts: 27
Joined: 29 Jan 2010, 12:05

09 Apr 2010, 14:58

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?

Thanks,
Vince.
[ Primefaces 2.2: Java 1.5: JSF 2.0: Apache Tomcat 6.0 ]

matei123
Posts: 6
Joined: 09 May 2011, 14:25

26 May 2011, 12:47

You can achieve multiline headings with CSS:

.ui-datatable th{
white-space: normal ! important;
}

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 63 guests