After my grid loads I bind a click handler to a column that contains a checkbox.
$("#mygrid td input").each(function () {
$(this).click(function () {
});
});
Is there a slick way in this click handler to get pk/id of the record what corresponds to the row the checkbox is in, so I can make a call to the server with it?
You can use eventObject parameter of the jQuery.click event:
You should just find the with respect of jQuery.closest the
<tr>(table row) element to which the clicked<input>element belong. Theidof the<tr>element is the rowid which you used during filling the grid.