Load data into table dinamically

Hello community,

I’m trying to load data into a child table when a link field is selected.

Example: Imagine a link of teachers and when you select the teacher, all his student need to appear in the child table.

Any help would be nice.

1 Like

I found the solution.

only we need to do this.

cur_frm.add_child(“table_name”, {“docfield”: “value”});