你好,通过 Client-Side 函数 AddMapKey 可以实现该功能:- <SCRIPT type="text/javascript">
- function window.onload() {
-
- var spread = document.getElementById("FpSpread1");
- if (spread != null) {
- setMap();
- }
- }
- function setMap() {
- var ss = document.getElementById("FpSpread1");
- if (ss != null) {
- ss.AddKeyMap(13, false, false, false, "this.MoveToNextCell()");
- }
- }
- </SCRIPT>
复制代码 详细信息请参照:Spread Online Help(CHM)-Client-Side Scripting Reference - Methods- AddKeyMap |