APEX template :: Multi-columned report [message #440337] |
Fri, 22 January 2010 09:26 |
roseline43
Messages: 10 Registered: October 2009
|
Junior Member |
|
|
I want to make a multi-columned report in APEX.
I managed to do a 3 columned report as follow:
SMITH ALLEN
WARD JONES MARTIN
BLAKC CLARK SCOTT
KING TURNER ADAMS
JAMES FORD MILLER
Here is my template code:
Template Class: Standard
Template Type: (column template)
[b]Before rows:[/b]
<table cellpadding="0" border="0" cellspacing="0" summary="">
#TOP_PAGINATION#
<tr><td><table cellpadding="0" cellspacing="0" border="1" summary="" class="t9ValueAttributePairs">
[b]BEFORE EACH ROW[/b]
<td><table cellpadding="0" border="0" cellspacing="0" summary="">
[b]COLUMN 1 MODEL[/b]
<tr><td class="t9data">#COLUMN_VALUE#</td></tr>
CONDITION COLUMN 1
PL/SQL
mod(#ROWNUM#,3) = 0
[b]COLUMN 2 MODEL[/b]
<tr><td class="t9data">#COLUMN_VALUE#</td></tr>
CONDITION COLUMN 2
PL/SQL
mod(#ROWNUM#,3) = 1
[b]COLUMN 3 MODEL[/b]
<tr><td class="t9data">#COLUMN_VALUE#</td></tr>
</table></td>
<tr></tr>
<td><table cellpadding="0" border="0" cellspacing="0" summary=""><td> </td>
mod(#ROWNUM#,3) = 2
CONDITION COLUMN 3
PL/SQL
mod(#ROWNUM#,3) = 2
[b]AFTER EACH ROW[/b]
</table></td>
[b]AFTER ROWS[/b]
</table></td></tr>#PAGINATION#</table>
MY QUESTIONS:
1) the result that I have now is almost right but the Name SMITH and ALLEN are not well align.
There might be something wrong with my template definition ( see my template code before)
2) IS it possible to have more than 4 column model ( I need 8 or maybye 12 ). How can I modify this template?
If not, How can I modify the template to have a 8 or 12 columns templates?
thanks
Roseline
|
|
|
|
|