generate grid columns