Datatables 1.9.4 - fnGetNodes() get rows by multiple td value contains
Datatables 1.9.4 - fnGetNodes() get rows by multiple td value contains
cecco74
Posts: 11Questions: 3Answers: 0
Hi guys, i have an answer (I hope will be clear)...
I would like to find only rows that have two or more value in the cell. For one is simple:
var dtable= $("#example").dataTable();
var nodes = dtable.fnGetNodes();
var rows = $("td:nth-child("0"):contains('John')", nodes);
But for two or more in the same row??
look here: http://jsfiddle.net/drh0mvhz/10/
This discussion has been closed.
Answers
Grazie a Jason P (http://stackoverflow.com/users/2266713/jason-p) this is the solution... http://jsfiddle.net/f2hj1pgm/