Skip to main content
Skip table of contents

Custom List Instead of Table

Especially for SQL queries it is natural to display the result as a table. But this does not have to be the case. For example, you could format the results to form a list:

The corresponding template code looks like this:

CODE
<h2>This is a story about population</h2>
<p>In total, there are $result.size() countries with a population between
$queryParameters.min and $queryParameters.max - here's what we read...</p>
<ul>
    #foreach($row in $result)
    <li>$row.Name has $row.Population inhabitants</li>
    #end
</ul>

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.