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: 63,691Questions: 1Answers: 10,500 Site admin

    Perhaps you could show us the rules you made?

    Allan

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

    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 2022

    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.