'Stop running script' message in browser
'Stop running script' message in browser
Hi,
I am getting the 'Stop running script' message in I.E. 8 web browser. My dataset is small, between 1200 and 1500 rows of data. I am reading a csv file then parsing it into an array which dataTables is consuming. I have disabled any sorting on the table and still encountering this message. At this point, I am thinking my only option is to convert the csv over to a json file. Any suggestions here are greatly appreciated.
Thanks in advance.
Michael
I am getting the 'Stop running script' message in I.E. 8 web browser. My dataset is small, between 1200 and 1500 rows of data. I am reading a csv file then parsing it into an array which dataTables is consuming. I have disabled any sorting on the table and still encountering this message. At this point, I am thinking my only option is to convert the csv over to a json file. Any suggestions here are greatly appreciated.
Thanks in advance.
Michael
This discussion has been closed.
Replies
I would suggest that - yes! I don't know what is causing IE to be so slow (a link to a test page would be useful), but it will be faster for sure if you take out the CSV parsing. Also remember to use deferred rendering in IE ( bDeferRender ).
Allan
Michael
Allan
Thanks Allan for your suggestions. I was wondering one other thing, I currently have 3 tables each of which is filtered on a different value from a column. As a result, I am having to load my json file three times. I am wondering if I can just use $.ajax and pass the result to aaData so that I can just load the json file once opposed to three. I would imagine that this would further optimize the rendering of loading the data into the table. Once again, any suggestions are greatly appreciated.
Thanks in advance,
Michael