【问题标题】:JasperReports Server: Background color for the screen on which the reports are displayedJasperReports 服务器:显示报告的屏幕的背景颜色
【发布时间】:2016-03-25 20:36:06
【问题描述】:

如何更改在 JasperReports Server 上显示报告的整个屏幕(窗口)的背景颜色,而不是使用 JasperReports 更改报告的背景颜色?

【问题讨论】:

  • 看这个帖子:Same question这个话题使用Ireport
  • @Aroniaina 在您指定的问题中,它会根据报告的高度和宽度添加背景颜色,但我的问题是为显示报告的整个窗口添加背景。
  • @Aroniaina 在 Jasper 中更改 CSS 文件怎么样?

标签: jasper-reports jasperserver


【解决方案1】:

要更改Entire Window 的颜色,您可以像这样编辑jasperserver/themes 中的CSS 文件

#reportViewFrame .content .body{
        background:#f6f6f6; //any color you want
}

.jrPage > tbody {
    background: none repeat scroll 0 0 #f6f6f6; // any color you want
}

【讨论】:

  • 让我看看。我会告诉你的。
猜你喜欢
  • 2019-11-15
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-08-18
  • 1970-01-01
  • 2021-02-07
  • 1970-01-01
相关资源
最近更新 更多