multiple columns search not work

multiple columns search not work

rohit99rohit99 Posts: 22Questions: 9Answers: 0

table.columns( [0, 1] ).search( 'Fred' ).draw();

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,461Questions: 1Answers: 10,466 Site admin

    That will search for Fred in both columns 0 and 1. It does not do an OR operation between them.

    Allan

  • rohit99rohit99 Posts: 22Questions: 9Answers: 0
    edited December 2017

    table.columns( [0, 1] ).search( 'True' ).draw();
    This is not working.
    We have need to search in multiple column at the same time. Like: [Other_except] = "True" and [FLOWDOWN_YES] = "True".

  • allanallan Posts: 63,461Questions: 1Answers: 10,466 Site admin
    Answer ✓

    It seems to work okay for me http://live.datatables.net/moqamelo/1/edit . Perhaps you can link to a test case showing the issue please.

    Allan

This discussion has been closed.