【问题标题】:Pentaho cde popup not showing tablePentaho cde 弹出窗口不显示表格
【发布时间】:2019-07-09 10:11:18
【问题描述】:

我有一个 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));
} 

【问题讨论】:

    标签: pentaho pentaho-cde


    【解决方案1】:

    您是否尝试在激活弹出窗口之前更新表格?

    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));
    } 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-06-24
      • 1970-01-01
      • 2016-05-12
      • 1970-01-01
      • 2020-10-12
      • 1970-01-01
      • 2020-08-17
      相关资源
      最近更新 更多