As I didn\'t find any question asked before, on how to toggle checkbox on click of a table row, so I would like to share my approach to this...
You may simply trigger this click event...:)
$(document).ready(function()
{
$("table tr th :checkbox").click(function(event)
{
$('tbody :checkbox').trigger('click');
});
});
OR
$(document).ready(function()
{
$("table tr th :checkbox").on('click',function(event)
{
$('tbody :checkbox').trigger('click');
});
});