Handle prefix, suffix, push and pull in grid-row