Restrict User to Add and Delete Rows in a Table [Solved]

Hi Everyone,
Is there any way that I can restrict a user to add/delete rows from and in a child table, whereas he should be able to edit the rows but should not be able to add and/or delete rows?

Edit: Use the below code:

cur_frm.toggle_enable('childtable_field', false)

Regards
Ruchin Sharma

1 Like