Open Row if threshould change color

Hello
if i add a new Row and there add some panel like this


would it be closed. It should automatic open if something (a threshold) turn red - as soon green it will collapse back

have a nice day
vinc

would this idea be possible?