java - Primefaces p:dataTable showing without message "No records found."? -
this question has answer here:
i have p:datatable:
<p:datatable var="ind" value="#{logindpersistbean.list}" paginator="true" rows="10" id="table" rowstyleclass="odd-row, even-row"> <f:facet name="header"> list of logs </f:facet> <p:column headertext="name" > <h:outputtext value="#{ind.name}"/> </p:column> <p:column headertext="date" > <h:outputtext value="#{ind.date}" /> </p:column> </p:column> </p:datatable>
when start new search, if none register returns, datatable show message "no records found.", there way datatable show empty message, empty list ?
if it's relevant i'm using primefaces 4.0
thanks in advance.
add emptymessage="" data table attributes.
Comments
Post a Comment