[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1265
  • Last Modified:

How to make the header text left align in dataTable component of JSF

In JSF,
when using dataTable component,
how  to make the header text left align?
0
william007
Asked:
william007
1 Solution
 
fargoCommented:
dataTable has headerClass attribute to apply css style. Use the headerClass and apply the css for left align

<style>
.tableHeader{
text-align:left;
}
</style>
..
<h:dataTable headerClass="tableHeader" ...>
0
 
Siva Prasanna KumarPrincipal Solutions ArchitectCommented:
0
 
william007Author Commented:
Thanks:-)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now