Add Datatable in DocType Form

How can I add Datatable in Doctype Form?

Or is there any way I can show child-table data in Datatable on a Doctype form?

what have you tried so far?
would this link sufficient?

In child doctype table, I can add only 10 columns. But, I need more than that. In that case, I thought Datatable can solve this problem.

ah I see
You still can use edit button though, and I cannot help you with datatable