Generate grids in the application