Jump to content
Changes to the Jaspersoft community edition download ×

Visualize.js 6.1.0 report with table pagination issue on Internet Explorer


Recommended Posts

 

Hi all.

I have report with table element in summary band. Table has 10 to 15 columns and data is loaded from DB. Im using visualize.js to render report on my web page and to create pagination controls.

I'm using the following code for pagination:

window.previousPage = function () {
        var currentPage = report.pages() || 1;
 
        report.pages(--currentPage)
            .run()
            .done(function(){
             //long running script till this event is fired
         })
            .fail(function (err) {
            alert(err);
        });
    };
 
window.nextPage = function () {
    var currentPage = report.pages() || 1;
 
    report.pages(++currentPage)
        .run()
        .done(function(){
             //long running script till this event is fired
         })
        .fail(function (err) {
        alert(err);
    });
};
 
Issue is only on Internet explorer. When I click next page I see grey cover over report with "Loading..." message. After certain time it refreshes table with new data, but done callback highlighted above is not fired in that moment. Page becomes unresponsive and sometimes I see IE long running script message and then after 5-10 seconds done   callback is executed. 
 
All other browsers works fine.
 
Anybody know is there any issue with visualize.js and report table element. I tried to change table fields with static text, instead data from DB and then it works fast. Also, speed is ok in case when I have only 2-3 columns.
 
Thanks in advance.

 

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

I'm experiencing a similar issue on our drill down reports. There is a call to reportExecutions/.../status that runs after the /outputResource call. This /status call is taking under 40ms on Chrome & Firefox, and over a minute on IE. No visible errors or indication of why this would be so slow. Headers all match, etc. VERY FRUSTRATING.

 

 

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...