dataTable and globalFilter
Hi,
The p:dataTables widgetVar attribute is missing in the code displayed in the showcase , but the "real code" has a widgetVar.
Note that the entire showcase can normally be downloaded here http://repository.prime.com.tr/org/prim ... -SNAPSHOT/, however the current showcase war file is broken .
The p:dataTables widgetVar attribute is missing in the code displayed in the showcase , but the "real code" has a widgetVar.
Code: Select all
<p:dataTable var="car" value="#{tableBean.carsSmall}" widgetVar="carsTable"
emptyMessage="No cars found with given criteria">
<f:facet name="header">
<p:outputPanel>
<h:outputText value="Search all fields:" />
<h:inputText id="globalFilter" onkeyup="carsTable.filter()" style="width:150px" />
</p:outputPanel>
</f:facet>
....
</p:dataTable>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 50 guests