refactor table (grid) printing