Jump to content
Changes to the Jaspersoft community edition download ×


Recommended Posts

Hello everybody,

i am new to Jasper Report Server and walked through the following tutorial, which was realy helpfull for creating a drilldown report. http://www.jaspersoft.com/blog-entry/jasperreport-server-repository-advantage
I created a report that passes a parameter to another report by a hyperlink. This works well so far. But after the drilldown report shows up, i allways have to click the refresh button, to get the report loading its data. Otherwise it only displays a blank page. 
How can I avoid this behaviour, so that the drilldown report automaticaly shows the data.
Thanks in advance for any help, and sorry for my bad english.
Link to comment
Share on other sites

  • 3 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi Carsten,

Please find the below path which you need to modify for the report.view.runtime javascript file 
Report.initialize = function() {
    Report.exportForm = $(Report.EXPORT_ACTION_FORM);
    this.nothingToDisplay = $('nothingToDisplay');
    Report.refreshReport();//add new line
    if ($(Report.DATA_REFRESH_BUTTON)) {
    $(Report.DATA_REFRESH_BUTTON).observe('mouseup', function() {
    this.rerunReport({freshData: true});
    Please go to the line no 39 and add Report.refreshReport(); 
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...