[英]Pentaho cde popup not showing table
我有一个带有弹出组件的Pentaho cde仪表板,用于显示表格。 如果在生成仪表板时加载表,则此弹出窗口可以正常工作。 但是,我想根据在主仪表板页面上单击哪个图形来更改调用的查询。 该表包含使用cda查询从数据库检索的详细记录。
当我在调用弹出窗口时更改包含dataAccessId的参数时,它不起作用。 弹出窗口无法显示。
任何人有任何想法如何解决这个问题?
这有效:
function f(e){
render_Popup_Details.popup($(e.target));
}
这不起作用:
function f(e){
Dashboards.fireChange('flag_popup', 'flag_10');
render_Popup_Details.popup($(e.target));
}
在激活弹出窗口之前,您是否尝试过更新表?
function f(e){
Dashboards.fireChange('flag_popup', 'flag_10');
Dashboards.update([render_your_table_component_name]);
render_Popup_Details.popup($(e.target));
}
如果您使用的是RequireJS,则:
function f(e){
this.dashboard.setParameter('flag_popup', 'flag_10');
this.dashboard.getComponent('render_your_table_component_name').update();
this.dashboard.getComponent('render_Popup_Details').popup($(e.target));
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.