---
title: Displaying results as a table
slug: latest-table
canonical_url: https://docs.coveo.com/en/atomic/latest/usage/displaying-results/table/
collection: atomic
source_format: adoc
---
# Displaying results as a table
Using the [`atomic-result-list`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-list/) component, results can be displayed as a table.

## The basics
To make the [`atomic-result-list`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-list/) component display a table, the `display` attribute needs to be set to `table`.
```html
...
```
Then, a result template with columns needs to be defined using multiple [`atomic-table-element`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-table-element/) components.
Each column takes a `label` as a parameter, which will be a column's heading.
The contents of each `atomic-table-element` will be interpreted as the template to render in each cell of the column they represent.
> **Important**
>
> If more than one `atomic-result-template` is present, then the template which matches the first result will be used.
> To customize rows on a per-result basis, use the [`atomic-field-condition`](https://docs.coveo.com/en/atomic/latest/reference/result-template-components/atomic-field-condition/) component instead.
> **Notes**
>
> * Table cells can use [result sections](https://docs.coveo.com/en/atomic/latest/usage/displaying-results/result-sections/) by adding section elements as direct children of their `atomic-table-element` elements.
>
> * You can customize the contents of each cell by adding a `
```

### Customizing the header, cells, and other elements
The result table exposes many shadow parts for customization.
For more information, see [`atomic-result-list`](https://docs.coveo.com/en/atomic/latest/reference/components/atomic-result-list#shadow-parts).