Pentaho单一仪表板,用于使用ajax的多个报告

时间:2016-04-13 14:55:26

标签: ajax report pentaho pentaho-cde pentaho-spoon

我为不同的报告制作了多个仪表板副本。因此,浏览器中的每个报告都会更改URL,并且需要刷新整个页面。

前天我开始知道任何组件都可以刷新[Refresh all components of Pentaho CDE dashboard]

我想知道我是否可以使用单个pentaho仪表板在单个报告组件上呈现不同的报告,通过单击不同的按钮/链接使用ajax调用?

我觉得应该有一些方法。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:2)

好的,经过这么多尝试后,我发现我可以使用单个prpt组件并更新按钮/锚点击操作,然后更新prpt组件。

我试过了:

Dashboards.getComponent('render_prpt').action = "another_report";

Dashboards.getComponent('render_prpt').update(); 

它有效:)