No initial sort?
No initial sort?
I'm looking at IE8 performance issues (ugh ... I know!). We're talking about ~3500 rows (6 columns), loaded via ajax, using datatables 1.9. I get the nasty dialog about a script taking too long. I've narrowed this down to the following observation:
when bSort = true, I get the nasty panel.
when bSort = false, I never get the nasty panel.
I've tried setting "aaSorting" : [] to no avail; I was hoping this would completely skip the initial sort (per the docs), but something is still occurring that is making IE8 very unhappy.
I know we can't start with bSort = false and then change it later .... but wouldn't setting "aaSorting" to an empty array accomplish the same thing?
Any suggestions? I know server-side processing is an option, but ... eh ... maybe it'll have to end up being that, but I'd like to explore other options first.
Thanks,
john
when bSort = true, I get the nasty panel.
when bSort = false, I never get the nasty panel.
I've tried setting "aaSorting" : [] to no avail; I was hoping this would completely skip the initial sort (per the docs), but something is still occurring that is making IE8 very unhappy.
I know we can't start with bSort = false and then change it later .... but wouldn't setting "aaSorting" to an empty array accomplish the same thing?
Any suggestions? I know server-side processing is an option, but ... eh ... maybe it'll have to end up being that, but I'd like to explore other options first.
Thanks,
john
This discussion has been closed.
Replies
Anyway, it looks like the "compressed" version of the js for that throws all kinds of exceptions in IE that are hidden from the end user. FireFox & Chrome cope with it quite well, and don't suffer any performance issues, but IE8 just becomes a dog. The IE8 profiler, after running through the page a few times, highlighted that component. Switching to the non-compressed version of that js and I now have page load times on the order of 1-2 seconds in IE.
On a different note, if you are Ajax loading data, enable deferred rendering for a bit of a speed boost.
Allan