don't render rows/cells when it is not necessary (instead of hiding them, which messes up special css selectors)
just remove a row if it is new