0
我有一个表在我的仪表板,我想显示它包含多少行。像JavaScript警报弹出。如何获得pentaho仪表板行数弹出警报
注意:它必须在加载仪表板上显示一个弹出窗口,其中包含给定表格的行数。
到目前为止,我试过这个,但它没有奏效。我在preExecution中使用了这些代码。
function f(){
var rowCount = document.getElementById('myTableID').rows.length;
alert(rowCount);
}
&
function testClick(e) {
var id = e.tableData.rows.length;
alert(id);
}
感谢