colors - Changing JSF data table cell background -
how can change background of jsf data table cell? need change color of whole cell, not background of text in it.
just use css give td
element of interest background
property color of interest.
td.someclass { background: pink; }
you can specify css classes td
elements using columnclasses
attribute of <h:datatable>
. alternatively, if want apply on cells of same row, rather use rowclasses
attribute in combination tr.someclass td
css selector.
Comments
Post a Comment