tms grid change row color depent on datefield valu

This also doesnt work after i refresh my dataset, must first select the row foritto change.