If you understand correctly, you can use the beforeSelectRow event handler with the following code, for example:
beforeSelectRow: function(rowid, e) {
var $link = $('a', e.target);
if (e.target.tagName.toUpperCase() === "A" || $link.length > 0) {
return false;
}
return true;
}
returning a value falsefrom will beforeSelectRowprevent row selection.
source
share