点击列头复制粘贴是会粘贴 列头文字的。您说的,破坏合并,我得再可看下。
可以阻止撤销,但是组织后所有撤销都无效了
- $(document).ready(function () {
- var spread = new GcSpread.Sheets.Spread($("#ss").get(0),{sheetCount:3});
- var sheet = spread.getActiveSheet();
- GcSpread.Sheets.SpreadActions.none = function() {
- };
- var key = GcSpread.Sheets.Key;
- //Disable CTRL+C
- sheet.addKeyMap(key.c, true, false, false, false, GcSpread.Sheets.SpreadActions.none);
-
- //Disable CTRL+X
- sheet.addKeyMap(key.x, true, false, false, false, GcSpread.Sheets.SpreadActions.none);
-
- //Disable CTRL+V
- sheet.addKeyMap(key.v, true, false, false, false, GcSpread.Sheets.SpreadActions.none);
- });
复制代码 |