I have a site running Magento EE 2.2.2 and I have lots of Grouped and Configured Products. I turned off "Display Out of Stock Products". As expected, when a sub-product is out of stock, it is not displayed.
However, when all the sub-products of a given grouped-product are out of stock, it still displays the parent grouped product with no sub-products listed.
How do I hide grouped or configured products whose sub-products are all out of stock?