Here is the code I added to prevent certain rows from being editable:
obj.cellClick = function (event, ui) {
var $td = $(this).find('.pq-cont tr[pq-row-indx=' + ui.rowIndx + '] td[pq-col-indx=' + ui.colIndx + ']');
if (!$td.is('.gridRowEditable td')) {
event.preventDefault();
return false;
}
}
obj.cellSelect = function (event, ui) {
var $td = $(this).find('.pq-cont tr[pq-row-indx=' + ui.rowIndx + '] td[pq-col-indx=' + ui.colIndx + ']');
if (!$td.is('.gridRowEditable td')) {
event.preventDefault();
return false;
}
}
Unfortunately this does not prevent the user from tabbing or using the keyboard to navigate to those cells. Any other suggestions?
Thank you.