I am using a table
markup styled with JQuery Mobile for a very long table. When the user scrolls down the table head is not visible anymore causing my table to be less clearly arranged. My question is how I can repeat the table head in order to be always visible.
I have tried the follwing solution, however it has not worked. Below you can find my code for displaying the table (it's a Mako template).
<table data-role="table" data-mode="reflow" class="ui-responsive" id="tAreaAnalysis">
<thead>
<tr>
<th> </th>
<th colspan="3" class="textCenter borderLeft">Gesamtumsatz</th>
% for actually_printed_product_category in product_categories:
<th colspan="3" class="textCenter borderLeft">${actually_printed_product_category.name}</th>
% endfor
</tr>
<tr class="borderBottom">
<th>Kunde</th>
<th class="borderLeft">VZR 1</th>
<th>VZR 3</th>
<th>VZR 4</th>
% for actually_printed_product_category in product_categories:
<th class="borderLeft">VZR 1</th>
<th>VZR 2</th>
<th>VZR 3</th>
% endfor
</tr>
</thead>
<tbody>
</tbody>
</table>
Thanks a lot.