I made my table row clickable with this function
$("#grid tbody tr").click(function () {
var $checkbox = $(this).find(':checkbox');
$checkbox.attr('checked', !$checkbox.attr('checked'));
});
and it works fine, however when I try to click the checkbox self, it doesnt work. What should I do to make both of them work?