I cannot give you the solution, but you can start from this. I had to change some color or text attribute on a grid, so I wrote a javscript function and called on the onload event of the page.
I changed some row attribute based on the text of the second column, so:
<script>
function margine()
{
$(".scGridTabela").find('tr').each( function() {
var testo = $(this).children('td').eq(1).text();
if ( testo.toUpperCase().indexOf('MARGIN') >= 0 )
{
$(this).css("font-weight", "bold");
$(this).children('td').eq(1).css("background-color", "#AAAAAA");
$(this).children('td').css("background-color", "#AAAAAA");
}
if ( testo.toUpperCase().indexOf('TOTALE') >= 0 )
{
$(this).css("font-weight", "bold");
}
} );
}
</script>
So you can on the OnRecord event, put some TEXT or anything you can retrieve via javascript on the row to “mark to disable”, then in javascript row by row check if there is TEXT and the disable the checkbox.
In my code I set BOLD for rows that second column contains TOTALE, or BOLD and drak gray background if the second colum text contains MARGINE.
I hope this helps.