Skip to content

Instantly share code, notes, and snippets.

@heat
Created August 28, 2011 20:07
Show Gist options
  • Save heat/1177150 to your computer and use it in GitHub Desktop.
Save heat/1177150 to your computer and use it in GitHub Desktop.
last sub-header richfaces style change
<style>
.tabela-alterada .rich-table-subheader th:last-child {
background-color : #fff;
}
</style>
<rich:panel header="teste">
<rich:dataTable value="#{reBeam.alunos}" var="aluno" styleClass="tabela-alterada" >
<f:facet name="header">
<rich:columnGroup>
<rich:column>Nome
</rich:column>
<rich:column>Idade
</rich:column>
<rich:column>Media
</rich:column>
<rich:column>Ação
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>#{aluno.nome}
</rich:column>
<rich:column>#{aluno.idade}
</rich:column>
<rich:column>#{aluno.media}
</rich:column>
<rich:column styleClass="coluna-reutman">
<f:facet name="header">
<h:outputText value="Filtro"/>
</f:facet>
Excluir
</rich:column>
</rich:dataTable>
</rich:panel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment