Slow calls to fnAddData(it, false) on Microsoft Edge

Slow calls to fnAddData(it, false) on Microsoft Edge

af3af3 Posts: 2Questions: 1Answers: 0

Hello,

I have a code which add 2000 records using

mytable.fnAddData(list, false);

then mytable.fnDraw

This call takes 700 MS on chrome, however on edge it's like 3000 MS (3s) and the page freezes during this time.

Datatables version is 1.9.3 as i remember, also tried quickly replacing with new one - didn't help.

What can be the issue?

Answers

  • allanallan Posts: 63,836Questions: 1Answers: 10,518 Site admin

    1.9.3 is no longer supported. Please update to 1.10.11 which is the current release and if it is still slow, link to a page showing the issue.

    Allan

  • af3af3 Posts: 2Questions: 1Answers: 0
    edited March 2016

    Ok, here is the site - using newest datatables available.

    http://bit.ly/1ROIvNm

    Check in console:

    Chrome:
    Processing time: 282.6150000000001 MS

    Microsoft Edge:
    Processing time: 2325.391398363021 MS

    Edge is 10x slower in this code + freezes. During this calls:

    tableHandle.rows.add(list);
    tableHandle.draw();

    Any solution?

  • allanallan Posts: 63,836Questions: 1Answers: 10,518 Site admin

    Use the deferRender option - that should help speed up Edge.

    Allan

  • ShivaPandeyShivaPandey Posts: 1Questions: 0Answers: 0

    Hello af3,

    Did you get any solution. I am facing the same issue and also did lots of research but no success. I am using 1.10 with IE-11.

    Any help is appreciated.

This discussion has been closed.