Custom scrollable child table

Hello everyone,
I want to create a scrollable child table in a doctype. Is it possible to change existing table or I need to write custom code?

Thanks in advance.