Holger Knublauch

Made table alignment explicit

......@@ -18,14 +18,14 @@
}">
<tr class="ddrTR">
<ui:forEach ui:resultSet="{= ?hrs }">
<th class="ddrTH" style="{= IF(?left, 'text-align: left', ?none) }"
<th class="ddrTH" style="text-align: {= IF(?left, 'left', 'center') }"
><ui:parse ui:str="{= html:encodeBRs(spif:replaceAll(?header, ' ', '&nbsp;')) }" /></th>
</ui:forEach>
</tr>
<ui:forEach ui:resultSet="{# SELECT ?row ?rowIndex WHERE { ?rs spr:rowIndices ?rowIndex } }">
<tr class="ddrTR">
<ui:forEach ui:resultSet="{# SELECT ?cell ?colIndex WHERE { (?rs ?rowIndex) spr:rowCells (?cell ?colIndex) } }">
<td class="ddrTD" style="{= IF(spr:cell(?hrs, ?colIndex, 1), 'text-align: left', 'text-align: center') }">{= ?cell }</td>
<td class="ddrTD" style="text-align: {= IF(spr:cell(?hrs, ?colIndex, 1), 'left', 'center') }">{= ?cell }</td>
</ui:forEach>
</tr>
</ui:forEach>
......