Unable to add child table on page


I have created page and rendered controls like text boxes, links and buttons using frappe.ui.form.make_control which works fine. When I am trying to add child table on page it showing following error

Uncaught TypeError: Cannot read property ‘perm’ of undefined frappe.min.js:1810
frappe.ui.form.ControlTable.frappe.ui.form.Control.extend.make frappe.min.js:1810
prototype.(anonymous function) frappe.min.js:146
frappe.ui.form.Control.Class.extend.init frappe.min.js:1716
Class frappe.min.js:148
frappe.ui.form.make_control frappe.min.js:1714
(anonymous function) VM111:314
o.extend.each jquery.min.js:2
frappe.CustomerForm.Class.extend.render_customer_form VM111:309
frappe.CustomerForm.Class.extend.init VM111:295
Class frappe.min.js:148
(anonymous function) VM111:155
o.event.dispatch jquery.min.js:3

Please suggest a way to add child table on page

Thanks, Rohit