Add style to the grid.