dynamic visibility of GRID
#2
Posted 22 May 2012 - 04:36 AM
the only thing to remember is that all elements in the grid are generated. The visibility feature only prevents the grid and its content from rendering.
If your grid contains complex elements that take minutes to generate your reports won't be any faster if you use visibility feature to hide the grid and its content.
Have a look at: http://www.xing.com/...-group-mannheim or write me an email
#3
Posted 22 May 2012 - 04:45 AM
i want to control the visibility of the grid dynamicaly can any one help me please....
without consuming space
here is the attachment.that is what i want in my report.please see the footers.....
Attached File(s)
-
example.docx (13.86K)
Number of downloads: 3
#4
Posted 22 May 2012 - 09:22 PM
Attached File(s)
-
example.docx (13.86K)
Number of downloads: 5
#5
Posted 22 May 2012 - 10:43 PM
i want to create a pdf report like where 1st page has different footer and 2nd page has different footer.
there is a dynamic table on the 1st page which can be continued on second page.please see the attachment pdf....please give me solution.can any one please provid me with a solution.i have earlier posted this but i am not able to resolve it..plese help.thanks in advance...
Attached File(s)
-
example(1).pdf (34.46K)
Number of downloads: 9
#6
Posted 23 May 2012 - 10:07 AM
#9
Posted 26 May 2012 - 02:47 AM
but the solution you have given is repeating the first page contents on the second page third page and so on......
I am generating reports in the form of PDF.i have defined auto PAGE BREAK option.
please try it with PDF's.
please reply.......i am waiting for your response.....
#10
Posted 01 June 2012 - 09:42 AM
#11
Posted 02 June 2012 - 01:33 AM
but if I select auto page break than it is not running as expected.it is repeating first page footer on every page...why so?
#12
Posted 05 June 2012 - 11:04 AM
#14
Posted 06 June 2012 - 10:43 AM
#15
Posted 06 June 2012 - 09:15 PM
is it necessary to run it in the viewer?
if so then then please tell me each and every step,that i need to do
as i think it is already reported as bug.please see the link given below...
http://www.eclipse.o...mv/tree/175473/
is this bug is solved?
please provide me a solution.
thanks.
#16
Posted 08 June 2012 - 06:54 PM
#17
Posted 09 June 2012 - 09:55 AM
public static void main(String arg[])
{
ExecuteReport("C:/Users/Sharma/Desktop/header.rptdesign");
}
public static void ExecuteReport(String reportDesign)
{
try {
EngineConfig config = new EngineConfig();
Platform.startup(config);
ReportEngine engine = new ReportEngine(config);
IReportRunnable reportRunnable = engine.openReportDesign(reportDesign);
IRunAndRenderTask runAndRender = engine.createRunAndRenderTask(reportRunnable);
PDFRenderOption option = new PDFRenderOption();
option.setOutputFileName("C:/Users/Sharma/Desktop/output_test.pdf");
option.setOutputFormat("PDF");
runAndRender.setRenderOption(option);
runAndRender.run();
runAndRender.close();
engine.destroy();
Platform.shutdown();
} catch (EngineException e) {
e.printStackTrace();
} catch (BirtException e) {
e.printStackTrace();
}
}
}
this is the JAVA program that I am using.
I have set the page break interval 0 or 40 but my problem still exist.
i.e pageNumber variable is always 1.
the following code do not work for 2nd page of pdf.it is repeating the 1st page grid.
if( pageNumber > 1 ){
this.getStyle().display = "none";
}
#18
Posted 13 June 2012 - 08:22 AM
See this page for the separate tasks. It's kinda old, so it'll probably need to be updated slightly, but should get you started.
http://wiki.eclipse....nder_(BIRT)_2.1
Here are the docs for IRunTask and IRenderTask
http://help.eclipse....2FIRunTask.html
http://help.eclipse....RenderTask.html






MultiQuote











