Header tag

The Table Header tag outputs the header of the results table. The tag must be nested within a Table Result List tag.

Usage

Place the Header tag inside the body of a /app-studio/4.1/concepts/rendering-search-results/results-table/table-result-list-tag.html[Table Result List tag]. It contains nested Header Cell tags, one for every table column.

<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:result-list>