There is five pages of my report, so to load all data it is taking 4 minutes,
is there any way that i print first page immediately using visualize.js.
1 Answer:
Posted on August 25, 2015 at 8:14am
Yes Visualize.js allows you to select the page (or range of pages) you want to render, see the docs the report method properties:
http://community.jaspersoft.com/documentation/tibco-jasperreports-server...
It will be something like:
report .<span style="color: rgb(0, 102, 51);">pages</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 0, 255);">"1"</span><span style="color: rgb(0, 153, 0);">)</span> <span style="color: rgb(102, 102, 102); font-style: italic;">// string is also allowed</span> .<span style="color: rgb(0, 102, 51);">run</span><span style="color: rgb(0, 153, 0);">(</span><span style="color: rgb(0, 153, 0);">)</span><span style="color: rgb(51, 153, 51);">;</span>