IE8 Stop Script Pop up message
IE8 Stop Script Pop up message
fearednerd
Posts: 44Questions: 0Answers: 0
I keep getting the stop script message for my table when rows are around 1500 rows. I am using deferred rendering and turned off bsort (advice from other forum posts). Even when the Json data is cached I get that message. The thing is right after you click "No" the table appears and everything.
The odd thing is that when the cache is cleared it takes a lot longer before the stop script message pops up, this makes me assume it is not the data fetching causing the message. I could be wrong.
I can't really post a live working version of the table due to information legal tape, etc. but I will try to post what I can
Initialisation Options:
*i edited some parts to keep information private
[code]
{
"bAutoWidth": false,
"bStateSave": true,
"bSortClasses": false,
"bJQueryUI": true,
"bProcessing": true,
"aoData": [{}],
"sScrollY": "375px",
"sAjaxSource": "...........",
"bDeferRender": true,
"sAjaxDataProp": "invs",
"aoColumnDefs": [{
"fnRender": "function (oObj) {
return \"\" + oObj.aData. + \"\";
}",
"iDataSort": 8,
"aTargets": [0]
}],
"aoColumns": [{...column data...}],
"bScrollCollapse": true,
"sDom": "<\"class\"C>T<\"clear\">lrtipS",
"oTableTools": {
"sSwfPath": "https://website.com/swf/copy_csv_xls_pdf.swf",
"sRowSelect": "multi",
"aButtons": [{
"sExtends": "copy",
"bSelectedOnly": "true"
}, {
"sExtends": "csv",
"bSelectedOnly": "true"
}, {
"sExtends": "xls",
"bSelectedOnly": "true"
}, {
"sExtends": "text",
"sButtonText": "Select Visible",
"fnClick": "function (nButton, oConfig, oFlash) {
var oTT = TableTools.fnGetInstance(\"sort_table\");
var data = oTable.$(\"tr\", {filter: \"applied\"});
for (var i = 0; i < data.length; i++) {
if (!oTT.fnIsSelected(data[i])) {
oTT.fnSelect(data[i]);
}
}
}"
}, "select_none",
{
"sExtends": "csv",
"sButtonText": "Export All Investigators",
"bSelectedOnly": "none"
}]
},
"oColVis": {
"bCssPosition": true,
"sSize": "css",
"aiExclude": [0, 1, 8],
"fnStateChange": "function () {
oFC.fnUpdate();
var h = $(\".dataTables_scrollHeadInner tr.ntrow\").height();
$(\".DTFC_LeftHeadWrapper tr.ntrow\").css(\"height\", h);
redraw_st();
}"
},
"sScrollX": "1600px",
"iDisplayLength": -1,
"aLengthMenu": [
[-1],
["All"]
],
"sPaginationType": "full_numbers",
"fnInitComplete": "function () {
oTable.fnAdjustColumnSizing();
$(\"#sort_table\").hide();
$(\"#sort_table\").hide();
$(\"#sort_table\").show();
$(\"#sort_table\").show();
}",
"fnRowCallback": "function (oSettings) {
$(\"#sort_table\").hide();
$(\"#sort_table\").hide();
$(\"#sort_table\").show();
$(\"#sort_table\").show();
}"
}
[/code]
Any advice or help will be greatly appreciated. I just want the error message to stop appearing or to just some how make it automatically be clicked to No.
If more information is needed I will be happy to provide what I can give out
Thanks in Advance
The odd thing is that when the cache is cleared it takes a lot longer before the stop script message pops up, this makes me assume it is not the data fetching causing the message. I could be wrong.
I can't really post a live working version of the table due to information legal tape, etc. but I will try to post what I can
Initialisation Options:
*i edited some parts to keep information private
[code]
{
"bAutoWidth": false,
"bStateSave": true,
"bSortClasses": false,
"bJQueryUI": true,
"bProcessing": true,
"aoData": [{}],
"sScrollY": "375px",
"sAjaxSource": "...........",
"bDeferRender": true,
"sAjaxDataProp": "invs",
"aoColumnDefs": [{
"fnRender": "function (oObj) {
return \"\" + oObj.aData. + \"\";
}",
"iDataSort": 8,
"aTargets": [0]
}],
"aoColumns": [{...column data...}],
"bScrollCollapse": true,
"sDom": "<\"class\"C>T<\"clear\">lrtipS",
"oTableTools": {
"sSwfPath": "https://website.com/swf/copy_csv_xls_pdf.swf",
"sRowSelect": "multi",
"aButtons": [{
"sExtends": "copy",
"bSelectedOnly": "true"
}, {
"sExtends": "csv",
"bSelectedOnly": "true"
}, {
"sExtends": "xls",
"bSelectedOnly": "true"
}, {
"sExtends": "text",
"sButtonText": "Select Visible",
"fnClick": "function (nButton, oConfig, oFlash) {
var oTT = TableTools.fnGetInstance(\"sort_table\");
var data = oTable.$(\"tr\", {filter: \"applied\"});
for (var i = 0; i < data.length; i++) {
if (!oTT.fnIsSelected(data[i])) {
oTT.fnSelect(data[i]);
}
}
}"
}, "select_none",
{
"sExtends": "csv",
"sButtonText": "Export All Investigators",
"bSelectedOnly": "none"
}]
},
"oColVis": {
"bCssPosition": true,
"sSize": "css",
"aiExclude": [0, 1, 8],
"fnStateChange": "function () {
oFC.fnUpdate();
var h = $(\".dataTables_scrollHeadInner tr.ntrow\").height();
$(\".DTFC_LeftHeadWrapper tr.ntrow\").css(\"height\", h);
redraw_st();
}"
},
"sScrollX": "1600px",
"iDisplayLength": -1,
"aLengthMenu": [
[-1],
["All"]
],
"sPaginationType": "full_numbers",
"fnInitComplete": "function () {
oTable.fnAdjustColumnSizing();
$(\"#sort_table\").hide();
$(\"#sort_table\").hide();
$(\"#sort_table\").show();
$(\"#sort_table\").show();
}",
"fnRowCallback": "function (oSettings) {
$(\"#sort_table\").hide();
$(\"#sort_table\").hide();
$(\"#sort_table\").show();
$(\"#sort_table\").show();
}"
}
[/code]
Any advice or help will be greatly appreciated. I just want the error message to stop appearing or to just some how make it automatically be clicked to No.
If more information is needed I will be happy to provide what I can give out
Thanks in Advance
This discussion has been closed.