如果Spread直接放在页面上的放的话,下面的代码就正常
<script>
window.onload = function () {
var spread1 = document.getElementById("<%=FpSpread1.ClientID %>");
spread1.AddKeyMap(13, false, false, false, function () { var ss = spread1; ss.MoveToNextCell(); });
}
</script>
如果把Spread放在C1Tab里面的话,在执行var spread1 = document.getElementById("<%=FpSpread1.ClientID %>");
就会出现,请问如何修改?
|
|