DataTables with Table tools pluigin errors out with 12000 records
DataTables with Table tools pluigin errors out with 12000 records
chetana
Posts: 4Questions: 0Answers: 0
using dataTables to process table data populated through web service calls that has over 12000 rows
I get the following error.
Uncaught RangeError: Maximum call stack size exceeded...
Surprisingly it works with table tools when I select only the first 3 colums. the table has 14 columns that I need to output to an excel file and it has worked with 3 columns. Unfortunately the site is secured and I cannot post the url. Has anyone dealt with similar issues. I cannot use server side processing at this point as I need to use only Javascript/AJAX based code.
I get the following error.
Uncaught RangeError: Maximum call stack size exceeded...
Surprisingly it works with table tools when I select only the first 3 colums. the table has 14 columns that I need to output to an excel file and it has worked with 3 columns. Unfortunately the site is secured and I cannot post the url. Has anyone dealt with similar issues. I cannot use server side processing at this point as I need to use only Javascript/AJAX based code.
This discussion has been closed.
Replies
If it is with TableTools, then I'd be surprised if there is much we can do I'm afraid. The execution of the Flash is really slow because for the Excel export it does a UTF-16LE translation. Does CSV work okay? The Flash export is far from an ideal solution, and it is known to have problems with large data sets.
Allan
Here is the message :
The Following plug-in is unresponsive : Unknown
Would you like to stop it?
If this download is done repeatedly the Shokwave plug-in crashes.
Is there a way that the above message can be suppressed with a custom message indicating that the down load is in progress?
Also, with the data sent over in chunks to the Flash component, is the size of 8kb too much in this case and can this be changed?
"_fnFlashSetText": function ( clip, sData )
{
var asData = this._fnChunkData( sData, 8192 );
Thanks in advance.
The JS / Flash bridge has a limit on the amount of data that can be transferred at a time - which is why TableTools chunks data like that.
Unfortunately, I really don't know how to improve the performance to an acceptable level for the number of records you are working with (or I would have done it already!). I'm afraid that TableTools file export was just not designed for so much data.
Allan
Anyways is there a way to extend TableTools to display message / spinner when the save button is clicked
Allan