posted 13 years ago
Hi, this is code:
<h:panelGrid binding="#{backingBean.grid}" rendered="false" >
<p:dataTable value="#{backingBean.cars}" binding="#{backingBean.datable}" var="car"
paginator="true" rows="10" paginatorAlwaysVisible="false"
paginatorTemplate=" {PageLinks} {RowsPerPageDropdown}"
rowsPerPageTemplate="5,10,15>
<p:column>
<f:facet name="header">
<h:outputText value="CAR"></h:outputText>
</f:facet>
<h:outputText value="#{car.name}"></h:outputText>
</p:column>
</p:dataTable>
</h:panelGrid>
When use click on some button I set panelGrid rendered=true and datable inside panel grid lose its css, for example there is no more paginator, there are no more gridlines.
Thanks for help