How to repeat a row on each new page ? [message #740172] |
Tue, 18 October 2011 04:27  |
Eclipse User |
|
|
|
Hi everybody,
I would like to know if there is a way to do that :
PAGE 1
HEADER
Title 1
Item 1
Item 2
Item 3
Item 4
Title 2
Item 1
Item 2
FOOTER
Page 2
HEADER
Title 2 (Next)
Item 3
Item 4
Title 3
Item 1
Item 2
Item 3
FOOTER
Right now, I can't add Title 2 on page 2. I'm using BIRT 2.6.2.
Thx in advance,
GuiF007
[Updated on: Tue, 18 October 2011 04:27] by Moderator
|
|
|
|
|
|
|
|
Re: How to repeat a row on each new page ? [message #742566 is a reply to message #742493] |
Thu, 20 October 2011 12:00   |
Eclipse User |
|
|
|
Take a look at this thread:
http://www.eclipse.org/forums/index.php/m/498336/#msg_498336
Jason
On 10/20/2011 10:45 AM, guif007lepro wrote:
> I reach to display something each beginning of page (Except the second
> page ?!? (and the first, but normal)), but not the title, I received
> just null each time...
>
> My structure is this one :
> - On table to display title (called TABLE1)
> - On each row of this table, I have one table to display items (called
> TABLE2)
>
> I manage to display something really nice in TABLE2 header group.
> <data id="1512">
> <list-property name="boundDataColumns">
> <structure>
> <property name="name">cont</property>
> <text-property name="displayName">cont</text-property>
> <expression name="expression" type="javascript">vars["cont"]</expression>
> <property name="dataType">string</property>
> </structure>
> </list-property>
> <property name="resultSetColumn">cont</property>
> </data>
>
> On report tag, I have :
> <method
> name="onPageStart"><![CDATA[reportContext.setPageVariable("cont","Last
> Page Ended with "+ reportContext.getGlobalVariable("lst"));]]></method>
>
> On pageBreak table that display items under title (TABLE2), I have :
> <method
> name="onPageBreak"><![CDATA[reportContext.setGlobalVariable("lst",
> row["title"]);]]></method>
>
> The problem I have it's I received null for lst global variable.
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05367 seconds