Is there a way to pass in additional parameters to the gridRows.each anonymous function parameter as in this example?
var gridRows = grid.tbody.find("tr");
gridRows.each(function (e) {
var rowItem = grid.dataItem($(this));
$(this).removeClass("k-state-selected");
//custom logic
});