Pentaho单个仪表板使用Ajax生成多个报告 [英] Pentaho single Dashboard for multiple reports using ajax

查看:104
本文介绍了Pentaho单个仪表板使用Ajax生成多个报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了多个仪表板副本,以呈现不同的报告.因此浏览器中每个报表的url更改和整个页面都需要刷新.

I have made multiple copies of dashboard for different reports to render. so url changes for each report in the browser and whole page needs to be refreshed.

前天,我知道可以刷新任何组件[刷新Pentaho CDE仪表板的所有组件]

Day before yesterday i came to know that any component can be refreshed [ Refresh all components of Pentaho CDE dashboard ]

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

I wanna know if i can use single pentaho dashboard to render different reports over single reporting component, using ajax calls by clicking different buttons/links?

我觉得应该有一些解决办法.

I feel there should be some way arround this.

推荐答案

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

Okay, after so many attempts, i have figured it out that i can use single prpt component and update the action on button/anchor click, and then update the prpt component.

我尝试过:

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

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

它奏效了:)

这篇关于Pentaho单个仪表板使用Ajax生成多个报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆