Multiple search by column in datatable

Multiple search by column in datatable

GusrzGusrz Posts: 2Questions: 1Answers: 0

For some reason when doing double searches it only works in column 1, for example if I search for brenden|bruno it works perfect but if I try with data from another column such as director|developer only brings me one type, I don't understand what the error is.


live.datatables.net/menamagi/139/edit

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    You need to include search.smart too - see your example updated here. I also removed the code after the initialisation, as that wasn't doing what you thought it was - it did a single search on the first column.

    Colin

  • GusrzGusrz Posts: 2Questions: 1Answers: 0
    edited January 2021

    thank you very much, it's just what i needed

This discussion has been closed.