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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -