Search in muliple column with OR condition

Search in muliple column with OR condition

Prasanna7Prasanna7 Posts: 8Questions: 4Answers: 0

Hi Team,

Can I search multiple columns using OR condition? Right now when I use

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

it expects the text need to be in both columns. But I need to show if it exists atleast in 0 or 1 column. Please help.

Answers

  • dataBdataB Posts: 23Questions: 5Answers: 1

    Did you ever get an answer to this? I'm wondering the same thing.

  • kthorngrenkthorngren Posts: 20,267Questions: 26Answers: 4,764

    A custom search plugin would need to be created for this.

    Kevin

This discussion has been closed.