I really have a problem with search on rows

I really have a problem with search on rows

EmyleenEmyleen Posts: 21Questions: 8Answers: 0

Hello, I don't understand DataTables, I just want to draw() the lines that have a specific class. But I can't find the answer anywhere. I work with jQuery

var $datatable = $("#data-table-modal").DataTable();
var rows = $("#data-table-modal").find("tr.ligne-9");
$datatable.search(rows, true, false).draw(); // Doesn't work

Please help!!!!

This discussion has been closed.