SmartClient Version: v9.0p_2013-09-22/Pro Deployment (built 2013-09-22)
Internet Explorer 8
We have a listgrid where we are trying to retrieve all data at once, due to some complicating factors on the server side that makes it more efficient, and due to the fact that we need to show a grid summary row with field totals.
The number of records we're talking about is as few as 884 rows with 23 columns.
Only in Internet Explorer 8 (Not IE10 running in IE8 mode) we experience a problem where the datasource comes back with data and the user gets a message in JavaScript: "A script on this page is causing IE to run slowly. If it continues to run, your computer may become unresponsive." As soon as the user dismisses this message the grid renders immediately.
I have looked through the forums here to see if I can figure out what may be causing this. I understand that in a perfect world, my grid would be incrementally obtaining the data, but I don't have that option here, due to the need for summary information and because my datasource takes the same length of time to run regardless of whether I get the whole recordset or just a subset.
Failing that, I have seen a few posts on here mentioning some grid settings like autoFitData. My grid has this:
But even taking out the above, we still get the error.
We also have this:
I wondered if it might have something to do with the fact that we are using a grid summary:
Taking that out just to test, we still get the error.
Aside from this, the grid works well in other browsers, and even works well in IE8, once the user dismisses the JavaScript warning about the slow running script.
Is there anything else I can check with my grid? What else can slow down a grid, or make it run so much JavaScript that it would throw this kind of error?
Internet Explorer 8
We have a listgrid where we are trying to retrieve all data at once, due to some complicating factors on the server side that makes it more efficient, and due to the fact that we need to show a grid summary row with field totals.
The number of records we're talking about is as few as 884 rows with 23 columns.
Only in Internet Explorer 8 (Not IE10 running in IE8 mode) we experience a problem where the datasource comes back with data and the user gets a message in JavaScript: "A script on this page is causing IE to run slowly. If it continues to run, your computer may become unresponsive." As soon as the user dismisses this message the grid renders immediately.
I have looked through the forums here to see if I can figure out what may be causing this. I understand that in a perfect world, my grid would be incrementally obtaining the data, but I don't have that option here, due to the need for summary information and because my datasource takes the same length of time to run regardless of whether I get the whole recordset or just a subset.
Failing that, I have seen a few posts on here mentioning some grid settings like autoFitData. My grid has this:
Code:
autoFitData : "both", autoFitMaxRecords : 20,
We also have this:
Code:
showAllRecords: false, showAllColumns: false,
Code:
showGridSummary : true,
Aside from this, the grid works well in other browsers, and even works well in IE8, once the user dismisses the JavaScript warning about the slow running script.
Is there anything else I can check with my grid? What else can slow down a grid, or make it run so much JavaScript that it would throw this kind of error?
Comment