Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82259

Best way to get thead rows in a scroll-dataTable?

$
0
0
var oTable = $('#sometable').dataTable();

I'm trying to attach an event to a checkbox in the thead. Is there a function to retrieve header rows like fnGetNodes(), or must I do something like:
oTable.closest('.dataTables_scroll').children('.dataTables_scrollHead').find('input:checkbox')

Viewing all articles
Browse latest Browse all 82259

Trending Articles