Drastically reduced duplication of logic for row rendering