Unresponsive script
Unresponsive script
blueicreate
Posts: 2Questions: 0Answers: 0
First off. This is an amazing plugin!
One issue I'm having is using the script with a large amount of data. For example, I initially used the script with a table of about 40 records and it worked like a charm. Then I added 2000 records to the table and now I get "unresponsive script" error messages. Is there only a cap to the number of records this script can handle?
One issue I'm having is using the script with a large amount of data. For example, I initially used the script with a table of about 40 records and it worked like a charm. Then I added 2000 records to the table and now I get "unresponsive script" error messages. Is there only a cap to the number of records this script can handle?
This discussion has been closed.
Replies
There is no upper limit on the number of rows that DataTables can deal with - it's more of a javascript engine issue (as you are seeing here). Having said that, it would be most disappointing (and a bit surprising) if it can't cope with 2000 records. Do you have a link you can post (you can send it to me directly if you don't want to make it public: http://www.datatables.net/contact )?
One thing that is definitely worth trying with this many records is disabling the sorting classes - which are seriously bog down even the fastest javascript engine due to all of the DOM interaction it needs to do:
http://datatables.net/usage#bSortClasses
Regards,
Allan
If you send me a message with your e-mail address, I'll get back to you: http://www.datatables.net/contact
Allan
Allan
Allan
I have done the server side processing and using JSON format to display the records but getting unresponsive script message even for mozilla and IE.. any thoughts or suggestions?
Thanks in advance :)
Granted, I'm using about every plugin imaginable, but still. And yes, this is server-side processing.
But this is only 450 records, so if anyone has any comments...
Allan