zoukankan      html  css  js  c++  java
  • jaspersoft studio colunm header and detail ,detail中显示多列数据

    1. column header 中的属性与detail中的属性是一对多的时候,如何使detail中能正常的显示多列数据
      1.1 将column header中的属性与detail中的属性放在同一个对象中,然后根据在将对象放在一个list集合中,如果detail中的数据是有多个,则list中也有多个对象,再将list数据填充到report模板中。
      Noted: 如果出现了分页,是因为模板高度不够导致不能在一个页面中显示所有的数据,所以才会分页显示。而且此时的分页显示 column的值都是相同的,而detail则会接着上一页数据继续显示,例如 list中有3条数据,上一页显示了2条,则第二页只会显示第3条。
  • 相关阅读:
    char 转string
    博客,记忆的图谱。
    history
    openstack Icehouse发布
    数据库常用命令
    nagios
    screen
    openstack 流量控制
    sublime 3
    磁盘类型
  • 原文地址:https://www.cnblogs.com/wanthune/p/12146620.html
Copyright © 2011-2022 走看看