How to set different filter for each row in child table?

in “Stock Entry”, how to apply different filter for ‘target warehouse’ in each row based on "item_group, ava_capacity(custom field) > 0.

to filter data in your drop down for target ware house? If yes, you can write a get_query call a python method to return value you need.

Since it apply filter common to entire target warehouse column but i need different filter for each target warehouse( each row ).

I had similar requirement. Following solution from @NCP helped