Disable 'Add new row' from child table

hi,
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!

Thanks
Krithi

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

Perfect! thanks neil!