How to filter child table from Parent form field?

I want to filter child table data on select parent table form field.

This is my Item Field and Child Table. I want to filter the child table. If I select item03 from Items field, child table will filters only with item03 data. How can I do it? Anyone please help me

js script for parent field items, loop through child field filter out(hide) the rows with condition item_code != items?

@szufisher, can you please be more specific?

it is kind of idea how to implement, just for your reference.

@Cross_X in case you are still seeking the the solution, here the relevant solution from this forum