Remove accents in SearchBuilder

Remove accents in SearchBuilder

jpgbernardesjpgbernardes Posts: 3Questions: 1Answers: 0

Hello ,
How can I extend the rules I made for ('$: input') in order to remove accents inside Search Builder?
They are working perfectly in the regular filter and in SearchPanes, but not in SearchBuilder.
Tks,

Answers

  • allanallan Posts: 56,203Questions: 1Answers: 8,902 Site admin

    Perhaps you could show us the rules you made?

    Allan

  • jpgbernardesjpgbernardes Posts: 3Questions: 1Answers: 0
    edited June 23

    Hello, this is the code !

    $(':input').keyup(function () {
    table
    .search(
    jQuery.fn.dataTable.ext.type.search.string(this.value)
    )
    .draw()
    });

  • jpgbernardesjpgbernardes Posts: 3Questions: 1Answers: 0
    edited June 23

    See the example :

    When I search for Brasília in the main filter it's ok, but when I use SearchBuilder it does not work . In Search panes it is not working also!

    http://live.datatables.net/kayajija/1/edit

Sign In or Register to comment.