Report Examples List-section report
This is an example report using the list-section template
Contents
<div class="govuk-width-container">
<div class="dpr-report-page govuk-width-container report-list-container">
<div class="dpr-report-print-message-container">
</div>
<div class="dpr-report-page__heading-container">
<div class="dpr-report-header">
<div class="dpr-report-heading__actions">
<div class="report-actions" data-dpr-module='report-actions'>
<div class="moj-button-menu"></div>
<div class="dpr-display-none">
</div>
</div>
</div>
<div class="dpr-report-heading">
<div class="dpr-report-heading__title">
<h1 id="dpr-report-name" class="govuk-heading-xl">
<span class="govuk-caption-l">Report templates</span>
List-section
</h1>
</div>
</div>
<div id="dpr-download-message" class="dpr-download-message--hidden govuk-!-margin-bottom-6" data-dpr-module='download-message'>
<article class="moj-ticket-panel" aria-label="Sub navigation 1">
<section class="moj-ticket-panel__content moj-ticket-panel__content--blue" aria-label="Section 1">
<h2 class="govuk-heading-m">To download this report</h2>
<p><a href="/embedded/platform/dpr/download-report/request-download/report-template-examples/report-template-list-section/tableId/tblId_1769453963032/form?reportUrl=/embedded/platform/dpr/view-report/async/report/report-template-examples/report-template-list-section/tblId_1769453963032/report&reportSearch=%3Fcolumns%3Dfield1%26columns%3Dfield2%26columns%3Dfield3%26columns%3Dfield4%26columns%3Dfield5" class="govuk-link govuk-link--no-visited-state">Fill out a form</a>, which will take about 1 minute to complete.</p>
<p>You can then download the report whenever you need it.</p>
</section>
</article>
</div>
<details class="govuk-details dpr-meta-data-details">
<summary class="govuk-details__summary">
<span class="govuk-details__summary-text">
Report details
</span>
</summary>
<div class="govuk-details__text">
<div class="dpr-request-details">
<table class="dpr-request-details__table" id="dpr-request-details-table">
<tbody>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Name:</p>
</td>
<td>
<h2 class="govuk-heading-s govuk-!-margin-bottom-0">List-section</h1>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Product:</p>
</td>
<td>
<h2 class="govuk-heading-s govuk-!-margin-bottom-0">Report templates</h1>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Description:</p>
</td>
<td>
<p class="govuk-body-m govuk-!-margin-bottom-0">Template: "list-section",</br> A sectioned report.</p>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Classification:</p>
</td>
<td>
<p class="govuk-body-m govuk-!-margin-bottom-0">OFFICIAL</p>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Requested at:</p>
</td>
<td>
<p class="govuk-body-m govuk-!-margin-bottom-0">26/01/2026, 18:59:24</p>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Applied Filters:</p>
</td>
<td>
<ul>
<li class="govuk-body govuk-!-margin-bottom-0">Sort column: Field 1</li>
<li class="govuk-body govuk-!-margin-bottom-0">Sort direction: Descending</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</details>
<div class="dpr-report-details-print">
<div class="dpr-request-details">
<table class="dpr-request-details__table" id="dpr-request-details-table">
<tbody>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Name:</p>
</td>
<td>
<h2 class="govuk-heading-s govuk-!-margin-bottom-0">List-section</h1>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Product:</p>
</td>
<td>
<h2 class="govuk-heading-s govuk-!-margin-bottom-0">Report templates</h1>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Description:</p>
</td>
<td>
<p class="govuk-body-m govuk-!-margin-bottom-0">Template: "list-section",</br> A sectioned report.</p>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Classification:</p>
</td>
<td>
<p class="govuk-body-m govuk-!-margin-bottom-0">OFFICIAL</p>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Requested at:</p>
</td>
<td>
<p class="govuk-body-m govuk-!-margin-bottom-0">26/01/2026, 18:59:24</p>
</td>
</tr>
<tr>
<td class="dpr-request-details__table-heading">
<p class="govuk-body-m dpr-request-details__table-heading_name">Applied Filters:</p>
</td>
<td>
<ul>
<li class="govuk-body govuk-!-margin-bottom-0">Sort column: Field 1</li>
<li class="govuk-body govuk-!-margin-bottom-0">Sort direction: Descending</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="dpr-report-interactive-actions">
<div class="dpr-columns-section-wrapper">
<div class="dpr-columns-section-heading">
<p class="govuk-body"><strong>Columns</strong></p>
</div>
<div class="dpr-interactive-filters-accordion">
<div class="columns-section-button">
<details class="govuk-details">
<summary class="govuk-details__summary">
<span class="govuk-details__summary-text">
Show columns (5 of 7 shown)
</span>
</summary>
<div class="govuk-details__text">
<form data-dpr-module="columns" class="dpr-columns-form" method="post" action="./report/apply-columns">
<input type="hidden" name="_csrf" value="csrfToken">
<div class="columns-container">
<div class="govuk-form-group govuk-!-margin-bottom-3">
<fieldset class="govuk-fieldset" aria-label="columns checkboxes">
<legend class="govuk-fieldset__legend govuk-label govuk-!-font-weight-bold">
Select report columns
</legend>
<div class="govuk-checkboxes govuk-checkboxes--small" data-module="govuk-checkboxes">
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="columns" name="columns" type="checkbox" value="field1" checked>
<label class="govuk-label govuk-checkboxes__label" for="columns">
Field 1
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="columns-2" name="columns" type="checkbox" value="field2" checked>
<label class="govuk-label govuk-checkboxes__label" for="columns-2">
Field 2
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="columns-3" name="columns" type="checkbox" value="field3" checked>
<label class="govuk-label govuk-checkboxes__label" for="columns-3">
Field 3
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="columns-4" name="columns" type="checkbox" value="field4" checked>
<label class="govuk-label govuk-checkboxes__label" for="columns-4">
Field 4
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="columns-5" name="columns" type="checkbox" value="field5" checked>
<label class="govuk-label govuk-checkboxes__label" for="columns-5">
Field 5
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="columns-6" name="columns" type="checkbox" value="field6">
<label class="govuk-label govuk-checkboxes__label" for="columns-6">
Field 6
</label>
</div>
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="columns-7" name="columns" type="checkbox" value="field7">
<label class="govuk-label govuk-checkboxes__label" for="columns-7">
Field 7
</label>
</div>
</div>
</fieldset>
</div>
</div>
<div class="govuk-button-group">
<button type="submit" class="govuk-button govuk-button govuk-!-margin-bottom-0 dpr-apply-columns-button" data-module="govuk-button">
Apply columns
</button>
<a class="govuk-link govuk-link--no-visited-state dpr-reset-columns-button" href="#">Reset columns</a>
</div>
</form>
</div>
</details>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="dpr-report-page__template-container">
<div class="dpr-report-template-container ">
<div class="dpr-report-template__page-summaries dpr-report-template__page-summaries--header">
</div>
<div class="dpr-report-template__page-totals dpr-report-template__page-totals--header">
<div class="dpr-report-totals">
<p class="govuk-body"></p>
</div>
</div>
<div class='dpr-report-template__sections dpr-report-template__sections--list-section'>
<div id="dpr-report-sections">
<div id="dpr-list-section-section-1" class="dpr-list-section-section dpr-report-section" aria-labelledby="section-title-1">
<div class="dpr-report-section__title">
<h2 id="section-title-1" class="govuk-heading-m">First: One, Second: A
<span class="govuk-caption-m">4 results</span>
</h2>
</div>
<div id="dpr-list-section-section-data-1" class="dpr-list-section-section__data">
<div id="table-container-1" class='dpr-table-container dpr-table-container--list-section' data-dpr-module="data-table" aria-labelledby="section-title-1">
<div class="dpr-overflow-gradient" id="dpr-overflow-gradient-1"></div>
<div class="dpr-table-wrapper" id="dpr-table-wrapper-1">
<div class="dpr-table-content">
<table class="govuk-table dpr-data-table" id="dpr-data-table-1" data-classification="OFFICIAL" data-col-length="5">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
<th scope="col" class="govuk-table__header">Field 1</th>
<th scope="col" class="govuk-table__header">Field 2</th>
<th scope="col" class="govuk-table__header">Field 3</th>
<th scope="col" class="govuk-table__header">Field 4</th>
<th scope="col" class="govuk-table__header">Field 5</th>
</tr>
</thead>
<tbody class="govuk-table__body">
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="dpr-list-section-section-2" class="dpr-list-section-section dpr-report-section" aria-labelledby="section-title-2">
<div class="dpr-report-section__title">
<h2 id="section-title-2" class="govuk-heading-m">First: One, Second: B
<span class="govuk-caption-m">4 results</span>
</h2>
</div>
<div id="dpr-list-section-section-data-2" class="dpr-list-section-section__data">
<div id="table-container-2" class='dpr-table-container dpr-table-container--list-section' data-dpr-module="data-table" aria-labelledby="section-title-2">
<div class="dpr-overflow-gradient" id="dpr-overflow-gradient-2"></div>
<div class="dpr-table-wrapper" id="dpr-table-wrapper-2">
<div class="dpr-table-content">
<table class="govuk-table dpr-data-table" id="dpr-data-table-2" data-classification="OFFICIAL" data-col-length="5">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
<th scope="col" class="govuk-table__header">Field 1</th>
<th scope="col" class="govuk-table__header">Field 2</th>
<th scope="col" class="govuk-table__header">Field 3</th>
<th scope="col" class="govuk-table__header">Field 4</th>
<th scope="col" class="govuk-table__header">Field 5</th>
</tr>
</thead>
<tbody class="govuk-table__body">
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="dpr-list-section-section-3" class="dpr-list-section-section dpr-report-section" aria-labelledby="section-title-3">
<div class="dpr-report-section__title">
<h2 id="section-title-3" class="govuk-heading-m">First: Two, Second: A
<span class="govuk-caption-m">3 results</span>
</h2>
</div>
<div id="dpr-list-section-section-data-3" class="dpr-list-section-section__data">
<div id="table-container-3" class='dpr-table-container dpr-table-container--list-section' data-dpr-module="data-table" aria-labelledby="section-title-3">
<div class="dpr-overflow-gradient" id="dpr-overflow-gradient-3"></div>
<div class="dpr-table-wrapper" id="dpr-table-wrapper-3">
<div class="dpr-table-content">
<table class="govuk-table dpr-data-table" id="dpr-data-table-3" data-classification="OFFICIAL" data-col-length="5">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
<th scope="col" class="govuk-table__header">Field 1</th>
<th scope="col" class="govuk-table__header">Field 2</th>
<th scope="col" class="govuk-table__header">Field 3</th>
<th scope="col" class="govuk-table__header">Field 4</th>
<th scope="col" class="govuk-table__header">Field 5</th>
</tr>
</thead>
<tbody class="govuk-table__body">
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div id="dpr-list-section-section-4" class="dpr-list-section-section dpr-report-section" aria-labelledby="section-title-4">
<div class="dpr-report-section__title">
<h2 id="section-title-4" class="govuk-heading-m">First: Two, Second: B
<span class="govuk-caption-m">5 results</span>
</h2>
</div>
<div id="dpr-list-section-section-data-4" class="dpr-list-section-section__data">
<div id="table-container-4" class='dpr-table-container dpr-table-container--list-section' data-dpr-module="data-table" aria-labelledby="section-title-4">
<div class="dpr-overflow-gradient" id="dpr-overflow-gradient-4"></div>
<div class="dpr-table-wrapper" id="dpr-table-wrapper-4">
<div class="dpr-table-content">
<table class="govuk-table dpr-data-table" id="dpr-data-table-4" data-classification="OFFICIAL" data-col-length="5">
<thead class="govuk-table__head">
<tr class="govuk-table__row">
<th scope="col" class="govuk-table__header">Field 1</th>
<th scope="col" class="govuk-table__header">Field 2</th>
<th scope="col" class="govuk-table__header">Field 3</th>
<th scope="col" class="govuk-table__header">Field 4</th>
<th scope="col" class="govuk-table__header">Field 5</th>
</tr>
</thead>
<tbody class="govuk-table__body">
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
<tr class="govuk-table__row">
<td class="govuk-table__cell govuk-table__cell--string">Value 1</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 2</td>
<td class="govuk-table__cell govuk-table__cell--string">01/02/03 01:00</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 4</td>
<td class="govuk-table__cell govuk-table__cell--string">Value 5</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="dpr-report-template__page-totals dpr-report-template__page-totals--footer">
<div class="dpr-report-totals">
<p class="govuk-body"></p>
</div>
</div>
<div class="dpr-report-template__page-summaries dpr-report-template__page-summaries--footer">
</div>
</div>
</div>
</div>
</div>
{%- from "dpr/components/_reports/report-page/view.njk" import dprReportPage -%}
{% set data = {
columns: {
name: 'columns',
options: [
{
text: 'Field 1',
value: 'field1',
disabled: false
},
{
text: 'Field 2',
value: 'field2',
disabled: false
},
{
text: 'Field 3',
value: 'field3',
disabled: false
},
{
text: 'Field 4',
value: 'field4'
},
{
text: 'Field 5',
value: 'field5'
},
{
text: 'Field 6',
value: 'field6',
disabled: false
},
{
text: 'Field 7',
value: 'field7',
disabled: false
}
],
text: 'Select report columns',
value: ['field1', 'field2', 'field3', 'field4', 'field5']
},
filterData: {
filters: [],
selectedFilters: [],
canSaveDefaults: true
},
count: 100,
nestedBaseUrl: '/embedded/platform',
csrfToken: 'csrfToken',
loadType: 'async',
type: 'report',
tableId: 'tblId_1769453963032',
reportId: 'report-template-examples',
id: 'report-template-list-section',
actions: [],
canDownload: false,
reportName: 'Report templates',
name: 'List-section',
description: 'Template: "list-section",</br> A sectioned report.',
classification: 'OFFICIAL',
printable: true,
specification: {
template: 'list-section',
sections: ['section1', 'section2'],
fields: [
{
name: 'field1',
display: 'Field 1',
sortable: true,
defaultsort: true,
type: 'string',
mandatory: false,
visible: true,
filter: {
type: 'Radio',
staticOptions: [
{
name: 'value1.1',
display: 'Value 1.1'
},
{
name: 'value1.2',
display: 'Value 1.2'
},
{
name: 'value1.3',
display: 'Value 1.3'
}
],
mandatory: false
}
},
{
name: 'field2',
display: 'Field 2',
sortable: true,
type: 'string',
mandatory: false,
visible: true,
filter: {
type: 'Select',
staticOptions: [
{
name: 'value2.1',
display: 'Value 2.1'
},
{
name: 'value2.2',
display: 'Value 2.2'
},
{
name: 'value2.3',
display: 'Value 2.3'
}
],
mandatory: false
}
},
{
name: 'field3',
display: 'Field 3',
sortable: false,
type: 'date',
mandatory: false,
visible: true,
filter: {
type: 'daterange',
min: '2003-02-01',
max: '2007-05-04',
mandatory: false
}
},
{
name: 'field4',
display: 'Field 4',
sortable: false,
type: 'string',
visible: true,
filter: {
type: 'autocomplete',
dynamicOptions: {
minimumLength: 3,
returnAsStaticOptions: true
},
staticOptions: [
{
name: 'Fezzick',
display: 'Fezzick'
},
{
name: 'Inigo Montoya',
display: 'Inigo Montoya'
},
{
name: 'Prince Humperdink',
display: 'Prince Humperdink'
},
{
name: 'Princess Buttercup',
display: 'Princess Buttercup'
},
{
name: 'Westley',
display: 'Westley'
}
],
mandatory: false,
pattern: '(?!Invalid).+'
}
},
{
name: 'field5',
display: 'Field 5',
sortable: false,
type: 'string',
visible: true
},
{
name: 'field6',
display: 'Field 6',
sortable: false,
type: 'HTML',
mandatory: false
},
{
name: 'field7',
display: 'Field 7',
sortable: false,
type: 'HTML',
mandatory: false
},
{
name: 'section1',
display: 'First',
sortable: false,
defaultsort: false,
type: 'string',
mandatory: false,
visible: false
},
{
name: 'section2',
display: 'Second',
sortable: false,
defaultsort: false,
type: 'string',
mandatory: false,
visible: false
}
]
},
template: 'list-section',
fields: [
{
name: 'field1',
display: 'Field 1',
sortable: true,
defaultsort: true,
type: 'string',
mandatory: false,
visible: true,
filter: {
type: 'Radio',
staticOptions: [
{
name: 'value1.1',
display: 'Value 1.1'
},
{
name: 'value1.2',
display: 'Value 1.2'
},
{
name: 'value1.3',
display: 'Value 1.3'
}
],
mandatory: false
}
},
{
name: 'field2',
display: 'Field 2',
sortable: true,
type: 'string',
mandatory: false,
visible: true,
filter: {
type: 'Select',
staticOptions: [
{
name: 'value2.1',
display: 'Value 2.1'
},
{
name: 'value2.2',
display: 'Value 2.2'
},
{
name: 'value2.3',
display: 'Value 2.3'
}
],
mandatory: false
}
},
{
name: 'field3',
display: 'Field 3',
sortable: false,
type: 'date',
mandatory: false,
visible: true,
filter: {
type: 'daterange',
min: '2003-02-01',
max: '2007-05-04',
mandatory: false
}
},
{
name: 'field4',
display: 'Field 4',
sortable: false,
type: 'string',
visible: true,
filter: {
type: 'autocomplete',
dynamicOptions: {
minimumLength: 3,
returnAsStaticOptions: true
},
staticOptions: [
{
name: 'Fezzick',
display: 'Fezzick'
},
{
name: 'Inigo Montoya',
display: 'Inigo Montoya'
},
{
name: 'Prince Humperdink',
display: 'Prince Humperdink'
},
{
name: 'Princess Buttercup',
display: 'Princess Buttercup'
},
{
name: 'Westley',
display: 'Westley'
}
],
mandatory: false,
pattern: '(?!Invalid).+'
}
},
{
name: 'field5',
display: 'Field 5',
sortable: false,
type: 'string',
visible: true
},
{
name: 'field6',
display: 'Field 6',
sortable: false,
type: 'HTML',
mandatory: false
},
{
name: 'field7',
display: 'Field 7',
sortable: false,
type: 'HTML',
mandatory: false
},
{
name: 'section1',
display: 'First',
sortable: false,
defaultsort: false,
type: 'string',
mandatory: false,
visible: false
},
{
name: 'section2',
display: 'Second',
sortable: false,
defaultsort: false,
type: 'string',
mandatory: false,
visible: false
}
],
executionId: 'exId_1769453963032',
requestedTimestamp: '26/01/2026, 18:59:24',
querySummary: [
{
name: 'Sort Column',
value: 'Field 1'
},
{
name: 'Sort Direction',
value: 'Descending'
}
],
queryData: {},
requestUrl: {
fullUrl:
'http://localhost:3010/embedded/platform/dpr/request-report/report/report-template-examples/report-template-list-section/filters?sortColumn=field1&sortedAsc=false',
pathname:
'/embedded/platform/dpr/request-report/report/report-template-examples/report-template-list-section/filters',
search: '?sortColumn=field1&sortedAsc=false'
},
reportUrl:
'/embedded/platform/dpr/view-report/async/report/report-template-examples/report-template-list-section/tblId_1769453963032/report',
reportSearch: '?columns=field1&columns=field2&columns=field3&columns=field4&columns=field5',
encodedSearch: '%3Fcolumns%3Dfield1%26columns%3Dfield2%26columns%3Dfield3%26columns%3Dfield4%26columns%3Dfield5',
pathname:
'/embedded/platform/dpr/view-report/async/report/report-template-examples/report-template-list-section/tblId_1769453963032/report',
dataTable: {
rowCount: 100,
summaries: {},
sections: [
{
key: '[{"name":"section1","value":"One"},{"name":"section2","value":"A"}]',
keyObj: [
{
name: 'section1',
value: 'One'
},
{
name: 'section2',
value: 'A'
}
],
title: 'First: One, Second: A',
count: 4,
summaries: {},
data: {
head: [
{
text: 'Field 1'
},
{
text: 'Field 2'
},
{
text: 'Field 3'
},
{
text: 'Field 4'
},
{
text: 'Field 5'
}
],
rows: [
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
]
],
rowCount: 4,
colCount: 5
}
},
{
key: '[{"name":"section1","value":"One"},{"name":"section2","value":"B"}]',
keyObj: [
{
name: 'section1',
value: 'One'
},
{
name: 'section2',
value: 'B'
}
],
title: 'First: One, Second: B',
count:4,
summaries: {},
data: {
head: [
{
text: 'Field 1'
},
{
text: 'Field 2'
},
{
text: 'Field 3'
},
{
text: 'Field 4'
},
{
text: 'Field 5'
}
],
rows: [
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
]
],
rowCount: 4,
colCount: 5
}
},
{
key: '[{"name":"section1","value":"Two"},{"name":"section2","value":"A"}]',
keyObj: [
{
name: 'section1',
value: 'Two'
},
{
name: 'section2',
value: 'A'
}
],
title: 'First: Two, Second: A',
count: 3,
summaries: {},
data: {
head: [
{
text: 'Field 1'
},
{
text: 'Field 2'
},
{
text: 'Field 3'
},
{
text: 'Field 4'
},
{
text: 'Field 5'
}
],
rows: [
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
]
],
rowCount: 3,
colCount: 5
}
},
{
key: '[{"name":"section1","value":"Two"},{"name":"section2","value":"B"}]',
keyObj: [
{
name: 'section1',
value: 'Two'
},
{
name: 'section2',
value: 'B'
}
],
title: 'First: Two, Second: B',
count: 5,
summaries: {},
data: {
head: [
{
text: 'Field 1'
},
{
text: 'Field 2'
},
{
text: 'Field 3'
},
{
text: 'Field 4'
},
{
text: 'Field 5'
}
],
rows: [
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
],
[
{
fieldName: 'field1',
text: 'Value 1',
format: 'string',
classes: ''
},
{
fieldName: 'field2',
text: 'Value 2',
format: 'string',
classes: ''
},
{
fieldName: 'field3',
text: '01/02/03 01:00',
format: 'string',
classes: ''
},
{
fieldName: 'field4',
text: 'Value 4',
format: 'string',
classes: ''
},
{
fieldName: 'field5',
text: 'Value 5',
format: 'string',
classes: ''
}
]
],
rowCount: 33,
colCount: 5
}
}
]
}
} %}
{{ dprReportPage(data) }}