Information table

In this example, the product group of national maps to the scale of 1:50000 is integrated. The formatting is carried out directly in HTML code.

The format template used
var formatTemplate =
   '<tr style="border-bottom: 1px solid black;">' +
      '<td>[product.mapNumber]</td>' +
      '<td>[product.titleDe]</td>' +
      '<td>[product.descriptionDe]</td>' +
      '<td>[product.price]</td>' +
      '<td>[product.releaseDate]</td>' +
   '</tr>';
   

Calling up the JavaScript function
window.onload=getProducts(1.0, formatTemplate, ['17'],null);   	
   

The product table
<table style="border: 1px solid black; border-collapse: collapse;" width="100%">
   <thead style="border-bottom: 2px solid black; font-size: 0.8em; 
   background-color: silver; text-align: left;">
   <tr>
      <th>Karten-Nr.</th>
      <th>Name</th>
      <th>Beschreibung</th>
      <th>Preis</th>
      <th>Erscheinungsdatum</th>  
    </tr>
   </thead>
   <tbody id="productOutputContainer"></tbody>
</table>	
   

It looks like this