Datatable filtering

UI Components for JSF
Post Reply
jvel
Posts: 2
Joined: 07 Apr 2015, 21:48

07 Apr 2015, 21:55

Hi all, I was looking for filtering rows on a PM Datatable, but I still didn't have success.
I've tried to code like this:

Code: Select all

<p:column headerText="Customer"                                      
  filterBy="#{var.customerId}"
   filterMatchMode="contains">
  <h:outputText value="#{var.customerId}"/>
</p:column>
But it didn't works on PM, I can't get the input filters! what can I use to get filtering on PM?
Thanks for your answers!

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

08 Apr 2015, 09:21

Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

jvel
Posts: 2
Joined: 07 Apr 2015, 21:48

08 Apr 2015, 14:42

Ok thanks...
So what alternative can I use for filtering data with PrimeFaces Mobile?

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

19 Apr 2015, 10:52

Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Seo-Ul-But and 26 guests