> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cell tag

[localhost link]: http://localhost:3000/docs/4/app-studio/concepts/rendering-search-results/results-table/cell-tag

[old doc.lw link]: https//doc.lucidworks.com/app-studio/4.2/3098

[mintlify link]: https://doc.lucidworks.com/docs/4/app-studio/concepts/rendering-search-results/results-table/cell-tag.md

The Cell tag displays the value of a given field from a search result as a table cell. The Cell tag supports a number of features in displaying the value, such as date formatting, adding a suffix or prefix, and default values.

> [card] Key questions to get you started
>
> Powered by Lucidworks Agent Studio

## Usage

Place the Cell tag inside the body of a [Row tag](https://doc.lucidworks.com/docs/4/app-studio/concepts/rendering-search-results/results-table/row-tag.md). The order of the cell tags within a row should match the order of the [Header Cell tags](https://doc.lucidworks.com/docs/4/app-studio/concepts/rendering-search-results/results-table/header-cell-tag.md) within the table’s [Header tag](https://doc.lucidworks.com/docs/4/app-studio/concepts/rendering-search-results/results-table/header-tag.md). In this example, a table contains three columns and displays the "full\_name", "address", and "dob" fields for each document in the given search response.

```xml wrap  theme={"dark"}
<table:result-list response="response">
    <table:header>
        <table:header-cell name="full_name" label="Name" sort="true"></table:header-cell>
        <table:header-cell name="address" label="Address" sort="true"></table:header-cell>
        <table:header-cell name="dob" label="Date of birth" sort="true"></table:header-cell>
    </table:header>
    <table:body>
        <table:row>
            <table:cell name="full_name" query="query"></table:cell>
            <table:cell name="address"</table:cell>
            <table:cell name="dob" date-format="dd/MM/yyyy"</table:cell>
        </table:row>
    </table:body>
</table:result-list>
```

For a complete list of attributes, see the [`table:cell`](https://doc.lucidworks.com/docs/4/app-studio/reference/tags/lightning.directive.tableCell) tag doc.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.