Apply display style to grid cells.