I'm working with datatables and I need to use search() as follows:
let table = $('#datatable-table').DataTable();
$('#boton-filtrar').click(function (e) {
e.preventDefault();
table
.column(8)
.search('> 20') //Here is the cuestion!
.draw();
});
That is, create a search filter in column 8 that returns all numbers greater than 20.
Column number 8 contains numerical values.
20 is by way of example, since the value will be given by another input that is already prepared.
I have searched but I have not found anything.
Some help? Thank you.