回复 1楼www_scott的帖子
你好,
代码中 if 缺少 “}” ,修改如下:
- window.onload = function myfunction() {
- custom();
- }
- function custom() {
- var spread = document.getElementById("FpSpread1");
- if (spread != null) {
- spread.AddKeyMap(13, false, false, false, "this.MoveToNextCell()");
- }
- }
复制代码 |