Search API is very slow in Firefox but fast in chrome, IE, safari
Search API is very slow in Firefox but fast in chrome, IE, safari
devilguy
Posts: 2Questions: 1Answers: 0
Hi everybody, I'm using datatables with 50000 rows. When I try to filter result, the speed on Firefox is very slow but still fast on other browser. Here is sample of my code:
$('#search').on('keyup change', function() {
$('#myTable').api().search($(this).val()).draw();
});
$('#myTable').dataTable({
"aaData" : aaData,
"bAutoWidth" : false,
"bSort" : false,
"deferRender" : true,
"pagingType" : "full_numbers",
"sDom" : '<"top"lif<"clear">>rt<"bottom"ipl<"clear">>',
"aoColumns" : myColumnsDef
});
I'm using datatables v1.10.10 and Firefox v42
This discussion has been closed.
Answers
Can you link to a test case showing the issue please.
Allan
Hi Allan,
Thanks for your fast response. It's feel so slow, take 10-15s to filter if the number of rows is 50000, still fast if have 2000-5000 rows. Where can I simulate 50000 rows of data? Please give me some guide to do that.
Can you link to a test case showing the issue so I can debug it and understand what the issue is please.
JSFiddle, CodePen, http://live.datatables.net etc.
Allan