Disable 'Add new row' from child table

I would like to hide the ‘Add new row’ button below the child table grid conditionally. That is,user should not be allowed to add rows after the form is saved.

How can this be done? I dont see ‘User cannot create’ option for child table doctypes!


you can set the table as read-only once the form is saved. check for the docstatus while the form loads.

Perfect! thanks neil!