the IE browser displays this message four times:
Stop running this script?
A script on this page is causing your web browser to run slowly. If it continues to run, your computer might become unresponsive.
To reproduce the problem, you can test this page on IE 8: http://handsontable.com/demo/scroll.html
Microsoft Support :
http://support.microsoft.com/default.aspx?scid=kb;en-us;175500
This message displays when Internet Explorer reaches the maximum number of synchronous instructions for a piece of JavaScript. The default maximum (MaxScriptStatements) is 5,000,000 instructions, you can increase this number on a single machine by editing the registry.
The microsoft solution needs an upgrate of all user station. I have 500 user of the application. It's not possible to do this ..
how can i fix this ?
i.e.
WalkontableSettings.prototype.rowHeight = function(row, TD) {
.....// in this block it turns out the initial guess was damn good
var size = 23;
if (TD) ..go do some other stuff (this part takes time)
}
For my purposes simply returning a fixed value worked wonders
i.e.
WalkontableSettings.prototype.rowHeight = function(row, TD) {
return 23;