如何在动态报表中获取页码



>像页码=1,页码=2等等,动态报表API中是否有任何预定义的属性,我知道这个问题太愚蠢了,但即使通过谷歌我仍然找不到这个问题的答案,请帮助。

如果要

向报表添加页号,则需要将此行添加到报表对象中

try {
        report()//create new report design
          .columns(...) //adds columns
          .pageFooter(cmp.pageXofY()) //shows number of page at page footer
          .show() //shows report
          .print() //prints report
          ...
      } catch (DRException e) {
        e.printStackTrace(); 
      }

最新更新