找回密码
 立即注册

QQ登录

只需一步,快速开始

xuehf_hz

初级会员

48

主题

93

帖子

357

积分

初级会员

积分
357
xuehf_hz
初级会员   /  发表于:2019-8-23 23:02  /   查看:2965  /  回复:1
1金币
表格有  第1列  第2列  第3列  第4列
第2列,第3列是锁定的,
设置了回车移到下一个单元格
spread1.AddKeyMap(13, false, false, false, function () { var ss = spread1; ss.MoveToNextCell(); });
现在希望在第1列回车后,直接跳到第4列,而不是跳到第2列,再跳到第3列
也就是希望回车把锁定列跳过去

1 个回复

倒序浏览
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2019-8-26 10:40:38
沙发
您好,现在没有方法可以移动是直接跳过locked的单元格。可以在事件中判断如果是锁定的继续move
This method moves the active cell one cell to the right. If the cell is at the end of the row, it moves the active cell down to the first cell in the next row. This will cause the onActiveCellChanging, onActiveCellChanged, and onSelectionChanged events to occur. This method does not cause a postback to occur.
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部