We have a use case whereby certain users should not be able to edit certain rows of custom data.
CSS selectors can hide the "Edit" links for these rows, but the inline editing (i.e. clicking on the value in the table cell) is not easy to override.
We have commented out the function in civicrm/civicrm/js/common.js where the jquery.crmEditable.js file is loaded, however this introduces limitations to many of the administrator functions and is not ideal.
Is there a better way to disable the jquery.crmEditable.js functionality without modifying core code, e.g. with a custom template?