Bom dia,
Estou tentando aplicar a cor vermelha na linha através do rowStyleClass usando css, mas não está pegando. Segue abaixo o código:
<style type="text/css">
.ui-datatable.ui-widget {
display: inline-block;
max-width: inherit;
overflow: auto;
border: 1px solid #045491;
font-size: 11px;
}
.ui-datatable table {
width: auto !important;
}
.vermelho {
color: red;
background: #EE4000;
}
</style>
<p:dataTable ... rowStyleClass="vermelho" >// Já tentei: rowStyleClass="background: #EE4000;", rowStyleClass=" #EE4000;"
Desde agora agradeço pela atenção.
Att,
Donizete Waterkemper