Is it possible to fetch child table to another non child table using add fetch custom scripts?

Hi Good Day, is it possible to fetch child table to another non child table using add fetch custom scripts? my scenario is this i created a custom script where in i type the employee name and it will fetch the holiday lists automatically this one is working properly. the thing that i want to achieve is this when i click on employee it will fetch the holiday list then it will fetch also the child table thats inside the holiday lists doctpye. kindly see the image below for your reference. Thanks in advance