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

0

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.

 

msiljegovic's picture
Joined: Dec 15 2015 - 12:53pm
Last seen: 2 months 2 weeks ago

8 Answers:

0

Try versioning up to 6.2.0. I think I've patched my version of 6.1.x to make it work on IE. Also, which version of IE are you using. Doesn't work too well with IE8 and I had to patch it up more.

hozawa's picture
57680
Joined: Apr 24 2010 - 4:31pm
Last seen: 8 months 1 week ago
0

Hi,

Im testing on Edge. It behave same when I change document mode in developer tools for any IE lower version.

Do you remember what was the problem in script?

My Jasper Server is AWS instance and it is currently used in production. How to upgrade to 6.2.0?

Thanks

msiljegovic's picture
Joined: Dec 15 2015 - 12:53pm
Last seen: 2 months 2 weeks ago
0

Web Browser keeps showing "loading..." when there is an error. This has been fixed in recent versions. Can't say too much about AWS because I haven't used it.

hozawa's picture
57680
Joined: Apr 24 2010 - 4:31pm
Last seen: 8 months 1 week ago
0

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.

 

 

jclarke_1's picture
Joined: Feb 9 2015 - 9:09am
Last seen: 3 years 2 weeks ago
1

If I put this in code 

defaultJiveUi: { enabled: false },

everything is ok with pagination, but I lost JIVE out of the box functionality for sorting, filtering....

So this is issue with JIVE feature/pagination and IE. What exactly is making a problem, still do not know.

 

msiljegovic's picture
Joined: Dec 15 2015 - 12:53pm
Last seen: 2 months 2 weeks ago
0

It is interesting that there is no problems with pagination on IE when you open report in Jasper Server web editor. JIVE is used there as well

msiljegovic's picture
Joined: Dec 15 2015 - 12:53pm
Last seen: 2 months 2 weeks ago
0

THANK YOU THANK YOU THANK YOU!!!

Disabling JIVE solved my problem.

jclarke_1's picture
Joined: Feb 9 2015 - 9:09am
Last seen: 3 years 2 weeks ago
0

You are Welcome,

but it did not solve mine :D, I need JIVE as well.

msiljegovic's picture
Joined: Dec 15 2015 - 12:53pm
Last seen: 2 months 2 weeks ago
Feedback
randomness