I have a situation where I want to do a "refresh" after making changes in a grid, so that the conditional formatting takes effect.

However, if I execute the {grid.Object}.refresh(); , any chances to the grid do not make the rows dirty (can't apply changes using submit )...


1) When we do a submit to a row, or grid, shouldn't the conditional formatting automatically take effect?
2) If not, and I add code to execute a refresh after the submit, why does it render my grid useless (no changes make the row dirty).