How to search through the child() row? (DataTables 1.10)
How to search through the child() row? (DataTables 1.10)
RagingTroll
Posts: 34Questions: 3Answers: 0
The DataTable().$("selector") only searches the main row, how are we supposed to search through the child()ren?
This discussion has been closed.
Replies
[code]
var table = $('#myTable').DataTable();
$( 'selector', table.rows().nodes() );
// or
table.rows().nodes().to$().find( 'selector' )
[/code]
Both are 1.10 syntax (since your post referred to that). There will be other ways to do it with `map` / `each` etc as well, but these two are probably the lead code.
Allan