I have a table in my dashboard and I want to display how many rows it contains. Like javascript alert popup.
Note: It must display a popup on the loading dashboard with number of rows given table has.
So far i tried this, but it didn't work. I used these codes in preExecution.
function f(){
var rowCount = document.getElementById('myTableID').rows.length;
alert(rowCount);
}
&
function testClick(e) {
var id = e.tableData.rows.length;
alert(id);
}
Thanks