Performance loss in IE 10/11 using DataTables 1.10.11
Performance loss in IE 10/11 using DataTables 1.10.11
Hi guys,
we are hardly working on a performance issue with Datatables showing ~ 4k Entries. In comparison to Chrome it takes up to 13 seconds more (Chrome/Firefox nearly 4 secs). That is a huge difference between IE and other browsers. To solve this problem we excluded plug-ins like colrezise, removed codelines but nothing fixed it. So we decided to check the DataTables plug-in. Finally we found a code snippet that seems to cause this lack.
We tracked it as follows:
_fnReDraw->_fnFilterComplete->_fnColumnTypes
Anywhere at these lines the reason should be found.
Here our setting for the table:
...
'bDeferRender':true, // may cause performance issues if set to false
"bAutoWidth": false,
'searching': true,
'stateSave': true,
"orderCellsTop": true,
"bScrollCollapse": true
'bLengthChange': true,
"aLengthMenu": [[10, 15, 25, 50 ,75 ,100], [10, 15, 25, 50 ,75 ,100]],
"iDisplayLength": pageLength[TableId],
"columnDefs": [{ orderable: lastColumnIsSortable, targets: ['checker',-1] }, { type: 'num-html', targets: 'html_sort' }], //changing type etc didn't influence performance
...
Does anyone have an idea?
Best regards