Datatable and global filter issue

jQuery UI Widgets
Post Reply
tllorca
Posts: 3
Joined: 15 Apr 2013, 09:14

16 Mar 2017, 15:39

Hello,

I'm trying to apply a globalfilter on a primeui datatable but I have the following issue.

When typing lowercase letters globalfilter works fine but when I start typing capital letters using "shift key" or "caps key" global filter does not works.

Do you have any idea?

On PrimeUI demo showcase this issue already occurs.

https://www.primefaces.org/primeui/#datatableFilter

Thanks!

bhamlin3
Posts: 1
Joined: 15 Mar 2018, 23:24

15 Mar 2018, 23:41

A little late, but I discovered the issue. The values in the table are set to lower case when a filter occurs. However the value put into the global filter is not being set to lower case, which is why you can't match on an uppercase letter (despite being able to do this on a regular column filter).

For a workaround you can do something like this:

https://stackoverflow.com/questions/141 ... lower-case

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest