Hi

IS_IGNORE_PAGINATION is a fill-time parameter, therefore you'll have to set it when filling the report:

params.put(JRParameter.IS_IGNORE_PAGINATION, Boolean.TRUE);
JasperFillManager.fillReport(jasperReport, params, ..);


Note that since the parameter is used at fill time, the JasperPrint object will have no pagination and no exports will be paginated.


HTH,
Lucian


Marco Mistroni wrote:
hello all,
  i m writing a report which needs to be exported in html and csv
when the output is csv i want to ignore pagination... i found out that there is a parameter called IS_IGNORE_PAGINATION that needs to be set to
true... but i don't know where to call it...
shall i call it before JasperFillManager.fillReport? or before exportReport? and on which class i can call it? i tried, when exporting to Csv, to define a parameterMap which contained
JRParameter.IS_IGNORE_PAGINATION
and JRCsvExporterParameter.FIELD_DEL.IMITER
the field delimiter worked fine, but the report completely ignored the IS_IGNORE_PAGINATION anyone could help? thanks and regards
 marco


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to