Hello,
Client side event handling is a bit different in Firefox.You need to first check for the browser in order to implement the client side code. This is what I came across in Spread documentation:
You need to use Firefox's way to attach events. For example
<HEAD>
...
<script language=javascript>
function init() {
var ss = document.getElementById("FpSpread1");
if (document.all) {
// IE
ss.onDataChanged = test;
}
else
{
// Firefox
alert("init firefox");
ss.addEventListener("DataChanged", test, false);
}
}
function test() {
alert("data changed");
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout" onload="init()">
FireFox does not support JavaScript properties as IE does; everything is accessed with methods. For example, to get the active row and active column, you use the GetActiveRow method and the GetActiveCol method respectively. In code,
var row = ss.GetActiveRow();
alert(row);
Thanks,
Deepak Sharma
GrapeCity FarPoint