Grid draw slow problem only been discovered in Chrome since recently

Grid draw slow problem only been discovered in Chrome since recently

devKimdevKim Posts: 1Questions: 1Answers: 0
edited February 2019 in Free community support

This is a problem that has only recently been found in "Chrome" on some computers. (version: 72.0.36.109/64-bit).
IE, FF works normally well.

Issues:
When the screen is opened, it is drawn normally at first.
However, after clicking the "search" button, the time to draw the grid is delayed.
As a result, we found that defining the scrollX, scrolly option would slow down (delete the scrollX, scrolly option to function normally).

        $('#example').DataTable( {
            data: dataSet,
            columns: col_eng,
            language : lang_eng,
            "scrollX" : true,                     // <- this 
            "scrollY" : "200px",               // <- this 
            "scrollCollapse" : false,
            "info" : false,
            "searching" : false,
            "paging" : false,
            "deferRender": true,
            "responsive": true,
        } );

I would appreciate it if you could define the scrollX and scrolly options and let me know how to handle them normally.

Source coding url: https://codepen.io/devKh2/pen/YBMwjy

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @devKim ,

    Thank for that fiddle, but I'm always getting the same times - could you give steps please on how to reproduce the problem.

    Cheers,

    Colin

This discussion has been closed.