mbakeranalecta/sam

Recordsets in HTML Output mode

Closed this issue · 1 comments

Currently, HTML Output Mode handles recordsets like this:

<table class="recordset" data-conditions="a,b" id="id6" data-name="name" lang="en-CA">
<tr class="record"><th class="record">foo</th><th class="record">bar</th><tr class="record">
<td class="foo">a</td>
<td class="bar">b</td>
</tr>
<tr class="record">
<td class="foo">c</td>
<td class="bar">d</td>
</tr>
</table>

``` 
It outputs the field names as header text. This is probably not what the author wants. It would be preferable to allow them to set the headers through a stylesheet. This would mean providing the field names as data. This might look like:

    <th class="record-set-field" data-field-name="foo"></th>

Implemented in 3e9b8f6.