Posted 29 September 2017, 8:22 am EST
Hi Spread Team,
I am working with Spread 9.0.
I am having little problems trying to attach custom events (EditStart, DataChanged, etc) on a spread in Internet Explorer 7. I have tried with the following sentences with no luck:
1.- fps_spread.onEditStart = function(){alert(‘hi’);}
2.- fps_spread.EditStart = function(){alert(‘hi’);}
3.- fps_spread.attachEvent(‘EditStart’, function(){alert(‘hi’);})
4.- fps_spread.attachEvent(‘onEditStart’, function(){alert(‘hi’);})
5.- fps_spread[“EditStart”] = function(){alert(‘hi’);}
6.- fps_spread[“onEditStart”] = function(){alert(‘hi’);}
Please note the function alert is for reference purposes. Please note too that “addEventListener” is not available on Internet Explorer 7.
What I am doing wrong? It is neccesary to work with that explorer (very old applications).
Thanks in advance.