Is it possible to add search definitions in columnDefs?

Is it possible to add search definitions in columnDefs?

JammySlayerJammySlayer Posts: 39Questions: 11Answers: 2

I was hoping to have a something a little more "targetted" than searchCols ( https://datatables.net/reference/option/searchCols ) allows for something along the lines of:

columnDefs: [
{
targets: 1,
search: {
smart: false
}
}
]

Currently I'm looking at making a method that'll populate searchCols more easily, but thought I'd check there wasn't something I'm missing.

This discussion has been closed.