Datatable - Exact match with filterby

UI Components for JSF
Post Reply
ric
Posts: 20
Joined: 21 Mar 2010, 12:25

24 Mar 2010, 18:16

Hello,

If a column "Id" (for example) has the attribute filterBy it is possible to type "P0" in the area inside the header of the column to select all the rows that contain a value which begins with "P0" in the column "Id". If a row contains the value "P00", it is selected.

Is it possible to select only the rows which contains exactly the value "P0" so that another row which contains "P00" won't be selected?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

26 Mar 2010, 02:08

Hi ric,

It only works with startsWith match mode as of now but in upcoming version, we'll add filterMatchMode attribute to configure this by setting values like startsWith, exact, anywhere.

Star the following issue if you'd like get email notifications regarding updates;

http://code.google.com/p/primefaces/iss ... ail?id=672

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests