Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make datatable header bold?  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!