This content has been marked as final.
Show 2 replies
-
1. Re: datatable not shows input filter box
klhoste2 Dec 18, 2012 9:37 AM (in response to airtarga97)You should add <h:inputText/> in the header facet of your columns as it is done in the showcase example :
<rich:column filterValue="#{carsFilteringBean.vinFilter}" filterExpression="#{fn:containsIgnoreCase(car.vin,carsFilteringBean.vinFilter)}"> <f:facet name="header"> <h:panelGroup> <h:outputText value="VIN " /> <h:inputText value="#{carsFilteringBean.vinFilter}"> <a4j:ajax event="blur" render="table" execute="@this" /> </h:inputText> </h:panelGroup> </f:facet> <h:outputText value="#{car.vin}" /> </rich:column>
-
2. Re: datatable not shows input filter box
tommahawk Mar 27, 2013 4:59 AM (in response to klhoste2)Hi
i've got the same Problem when trying to use build-in search.
@kevin this solution works fine but it doesn't use the filterBy and filterEvent attributes, which would make the code more readable.
Is it possible to use these attributes?
Thanks