Grids

Use grids to display tabular data in a structured, easy-to-scan layout. Keep grid data values concise and consistently-formatted to maximize readability.

DO

Apply the same formatting to all data in a given column

Keep row heights uniform, preferably keeping text short so that it can be displayed on one line

DON'T

Don't use grids to display large blocks of text

Don't show different types of content or varied formatting within the same column

Don't display values that create variation in row height as this makes the grid hard to scan

Alignment

Left-align text and right-align numbers and dates (in left-to-right locales).

Align headers consistently with column content.

Styling Options

Spacing

The "Standard" grid spacing offers a good balance between information density and readability.

Use the "Dense" spacing option to reduce the need for vertical scrolling when showing grids with a large number of rows. Note that some users may find the dense grids to be harder to read because of their reduced white space.

Shade Alternate Rows

Use the alternate row shading option to help users match up values on the same row when scanning grids with a lot of data. The shading may not be necessary when showing grids with only a few rows of data.

Border Style

Use the "Light" border style to remove the outer border and vertical column divider lines from grids. This creates a less cluttered look for simple grids that can easily be scanned without the need for extra decorative lines.

Selection Style

DO

Use the "Row Highlight" selection style for read only content. An example of this can be seen in the master-detail pattern.

DON'T

Avoid mixing "Row Highlight" selection style and interactive components, such as links or inputs, in grid cells. This may make it difficult for the user to differentiate between clicking on the row or one of the interactive components within the row. Instead, use the "Checkbox" selection style when there are interactive components in a grid.

Consistency

When displaying multiple grids on the same page, use the same density and styling options for all grids to create a consistent experience.

FEEDBACK