Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make datatable header bold?

 
karthik manick
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.. i am using a datatable .. i want to show the header of each column bold.... how can i do that?
 
leo donahue
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javaserverfaces/1.2/docs/tlddocs/h/dataTable.html

Add a style or styleClass attribute to your <h:dataTable> component.

Or, add the style or styleClass to the <f:facet> of your <h:column> if you are using those.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!