|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to do Pagination in BIRT [message #641249 is a reply to message #641056] |
Wed, 24 November 2010 11:02  |
Eclipse User |
|
|
|
Take a look at this example:
Jason
<?xml version="1.0" encoding="UTF-8"?>
<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.22"
id="1">
<property name="createdBy">Eclipse BIRT Designer Version
2.6.1.v20100902 Build <2.6.1.v20100915-1750></property>
<property name="units">in</property>
<property name="iconFile">/templates/blank_report.gif</property>
<property name="bidiLayoutOrientation">ltr</property>
<property name="imageDPI">96</property>
<styles>
<style name="report" id="4">
<property name="fontFamily">sans-serif</property>
<property name="fontSize">10pt</property>
</style>
<style name="crosstab-cell" id="5">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
<style name="crosstab" id="6">
<property name="borderBottomColor">#CCCCCC</property>
<property name="borderBottomStyle">solid</property>
<property name="borderBottomWidth">1pt</property>
<property name="borderLeftColor">#CCCCCC</property>
<property name="borderLeftStyle">solid</property>
<property name="borderLeftWidth">1pt</property>
<property name="borderRightColor">#CCCCCC</property>
<property name="borderRightStyle">solid</property>
<property name="borderRightWidth">1pt</property>
<property name="borderTopColor">#CCCCCC</property>
<property name="borderTopStyle">solid</property>
<property name="borderTopWidth">1pt</property>
</style>
</styles>
<page-setup>
<simple-master-page name="Simple MasterPage" id="2">
<page-footer>
<text id="3">
<property name="contentType">html</property>
<text-property
name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
<body>
<text id="7">
<property name="contentType">html</property>
<text-property name="content"><![CDATA[<script
type="text/javascript">
function forwardtst(rpt) {
var temp = new String(location.href);
//alert( temp );
var detailReport = rpt;
var TargetURL = temp.replace(/checkboxdriver.rptdesign/, detailReport);
//alert( TargetURL );
location.replace(TargetURL);
return false;
}
</script>
<table>
Detail.rptdesign: <INPUT TYPE="checkbox" NAME="Item1" VALUE="1"
UNCHECKED onClick="forwardtst('detail.rptdesign')">
<br>
Detail2.rptdesign: <INPUT TYPE="checkbox" NAME="Item2" VALUE="2"
UNCHECKED onClick="forwardtst('detail2.rptdesign')">
</table>
]]></text-property>
</text>
</body>
</report>
On 11/24/2010 2:20 AM, R.Murali wrote:
> couldn't able to get your point...can you please provide me with code..
|
|
|
Powered by
FUDForum. Page generated in 0.08782 seconds