Code: Select all
<pou:dataTable id="dtbTest"
widgetVar="wgvDtbTest"
value="#{mbTest.listName}"
var="name"
rowKey="#{name}"
scrollable="true"
scrollWidth="505">
<f:facet name="header">
<pou:toolbar>
<pou:toolbarGroup align="left">
<pou:commandButton value="Update"/>
</pou:toolbarGroup>
<pou:toolbarGroup align="right">
<h:panelGroup>
<h:outputText value="Filter" />
<h:inputText id="globalFilter"
onkeyup="wgvDtbTest.filter()"/>
</h:panelGroup>
</pou:toolbarGroup>
</pou:toolbar>
</f:facet>
<pou:column headerText="Name"
style="width: 650px;"
filterBy="#{name}"
filterMatchMode="contains"
filterStyle="width: 100%;">
<h:outputText value="#{name}"/>
</pou:column>
</pou:dataTable>
I want to leave the option to "scroll", but do not want the "f: facet" is at the scroll, I want it to be fixed and scroll lines only.
Does anyone know a way to do this ?
Thanks