Hi, I try to load the subreport when when the document.ready, unfortunately nothing happen on the load. Below is my code on the view.php
<div>
<sub-report id='DashboardReport' name='DashboardReport'></sub-report>
</div>
<script src="/koolreport/core/src/clients/core/KoolReport.subReport.js">
$(document).ready(function(){
subReport.update("DashboardReport");
});
</script>
The subReport(DashboardReport) is not reload at all. It will be load only if i put this way.
<div>
<?php $this->subReport("DashboardReport"); ?>
</div>
I need the DashboardReport load after user login to the dashboard only. I try put debugger on /koolreport/core/src/clients/core/KoolReport.subReport.js, dont see any impact on that. Please advise, thank you.