[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [birt-report-designer-dev] how can set Page Break Interval in birt 21RC4
|
walkinglife17 wrote:
>
> i want upgrade my birt designer to 21RC4, but Page Break Interval cannot
> be found.
> how can set Page Break Interval in 21RC4.
> thanks!
>
>
Hi,
Under BIRT 2.1.0 you can only use pageBreakAfter, pageBreakBefore,
pageBreakInside properties for page breaks and these properties can be used
for a limited number of components (eg table,table group etc.)
If you want to use page breaks between some number of records in a table you
must do some workaround on your dataset. You can add a computed column into
your dataset that specifies page number for each record. This can be done
with an expression like below for a page size of 10.
`row[0] / 10`
Then you can make a table group on the computed column and use
pageBreakAfter property.
I hope this helps. It was the only way i found.
--
View this message in context: http://www.nabble.com/how-can-set-Page-Break-Interval--in-birt-21RC4-tf1846678.html#a5793752
Sent from the Eclipse BIRT - Report Designer - Dev forum at Nabble.com.