Specjal characters in search bar
Specjal characters in search bar
testan
Posts: 2Questions: 1Answers: 0
in DataTables
Is it possible to change searchbar behaviour in case of special characters? For example:
I type character 'ąśźćłó' and I want searchbar consider that as 'aszclo'.
Is that obtainable with some of data tables plugins or I have to code that by myself?
Answers
https://datatables.net/plug-ins/filtering/type-based/accent-neutralise
or even this one
https://datatables.net/plug-ins/filtering/type-based/diacritics-neutralise
Yeah encountered these but in plugin description it says:
"For example is the letters EÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ searchable by the input 'E'."
I want it to be "E" letter searchable bt the inputs like "EÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"
Have u encountered a working example like this?
Have you tried the plugin? It would be worthwhile. If so, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin