'js' => '
var $collections = [
$("[rnum=1], [rnum=2]", $(".pr-rows-group")),
];
$($collections).each(function() {
var $collection = $(this);
$collection.find(":checkbox").on("change", function() {
var row = $(this).closest("[rnum]").attr("rnum"),
col = $(this).closest("[cnum]").attr("cnum"),
isChecked = $(this).prop("checked") || $("[cnum=" + col + "] [discol]:checked").length;
$collection.not("[rnum=" + row + "]").find("[cnum=" + col + "] :checkbox").prop("disabled", isChecked);
});
});
',