#import('generic', 'com.nomagic.reportwizard.tools.GenericTableTool')
#foreach($diagram in $Diagram)
#if($diagram.diagramType == "Generic Table")
#set($table = $generic.getTable($diagram))
$diagram.name
<table>
<colgroup>
<col/>
</colgroup>
<tbody>
<tr>
<td colspan="1">
<pre>#forcol#forcol($id in $table.getVisibleColumnIds())$table.getColumn($id)#endcol
#forrow($row in $table.getRows())
#forcol($id in $table.getVisibleColumnIds())
$table.getValueAsString($row, $id)
#endcol#endrow </pre>
</td>
</tr>
</tbody>
</table>
#end
#end |