Add a grid to PDF generation view