I have a datatable with a header facet which contains an input field to be used as a global filter. The structure was taken from the datable.xhtml sample file from the layout:
Code: Select all
<div class="Container100">
<div class="Card">
<div class="CardTopic Blue">Products</div>
<div class="Separator"></div>
<div class="Container100">
<h:form id="iipForm">
<p:dataTable id="internalInsulationProductsTable" var="product"
value="#{internalInsulationProductsController.viewData.products}"
paginator="true" rows="5" reflow="true"
rowsPerPageTemplate="5,10,15" rowHover="true"
filteredValue="#{internalInsulationProductsController.filteredRecords}"
sortBy="#{product.name}" widgetVar="iipProducts">
<f:facet name="header">
<p:inputText id="globalFilter"
placeholder="Search"
onkeyup="PF('iipProducts').filter()"
styleClass="Container100 Responsive100" />
</f:facet>
<p:column headerText="name" filterBy="#{product.name}"
sortBy="#{product.name}">
<h:outputText value="#{product.name}" />
</p:column>
</p:dataTable>
</h:form>
</div>
</div>
</div>
When I style it as "Wid100 Responsive100" I get the following:
What I expect to see is probably the latter without the overflow of course.
Any help will be appreciated.
Alex