How to make readonly

i want to read only in Appraisal . field: goal and weightage


Hi @kinzang,
I see that you are trying to change a property of a child table field so the right way of doing that is by using this script:

 var df = frappe.meta.get_docfield("CHILD TABLE DOCTYPE","FIELD NAME",;
df.read_only = 1;

Hope this helps,

@ahmed-madi Does this work on a per-cell or per column basis? I haven’t seen this technique before, it’s amazing how people are always finding new ways of doing things in Frappe.

Its per column

1 Like