search() ignore case sensitive

search() ignore case sensitive

NusserdtNusserdt Posts: 6Questions: 2Answers: 0

Hello,

i try to make a case sensitiv search without success. I prepare a example to make the problem more clear:

http://live.datatables.net/zanucoqo/3/edit?js,console,output

My sample input was ramos. I think the row Angelica Ramos should not part of the results in a case sensitive search.

I try default and regex search with same results.

How can I solve that?

Answers

  • kthorngrenkthorngren Posts: 20,322Questions: 26Answers: 4,774

    Your example doesn't run properly. This example shows using smart searching ramos with the caseInsen set false - meaning case sensitive search:
    http://live.datatables.net/wahugeza/1/edit

    It looks like, in your examples, you are setting caseInsen to true which is performing. case insensitive search.

    Kevin

  • NusserdtNusserdt Posts: 6Questions: 2Answers: 0

    Damn I thought I try all combinations of true and false. And in result it is so simple. Smart Search solves the problem, thanks you for all!

This discussion has been closed.