Report development, totalPages() Method

China☆狼群 提交于 2020-01-17 04:10:06

问题


Is it possible to reset the value returned by totalPages() method of reportRun class?

I have one report populated with several invoices, I want to reset the totalPages() value for each fetched invoice.

I tried to use element.reset() in the fetch() method of my report and it doesn't work, it splits my report by invoices.


回答1:


No, it is not possible.

The reset method does the trick, but splits the report as you observed.

And unless your lines exactly fit one line there is no way to precalculate the value.



来源:https://stackoverflow.com/questions/10298285/report-development-totalpages-method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!