GcSpread.Sheets Namespace > Sheet type : removeKeyMap Method |
true
if the action uses the Ctrl key; otherwise, false
.
true
if the action uses the Shift key; otherwise, false
.
true
if the action uses the Alt key; otherwise, false
.
true
if the action uses the Command key on the Macintosh or the Windows key on Microsoft Windows; otherwise, false
.
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: any value = instance.removeKeyMap(keyCode, ctrl, shift, alt, meta);
true
if the action uses the Ctrl key; otherwise, false
.true
if the action uses the Shift key; otherwise, false
.true
if the action uses the Alt key; otherwise, false
.true
if the action uses the Command key on the Macintosh or the Windows key on Microsoft Windows; otherwise, false
.var activeSheet = spread.getActiveSheet(); //Deactivate Up key when moving cell up. activeSheet.removeKeyMap(GcSpread.Sheets.Key.up, false, false, false, false); //Deactivate Down key when moving cell down. activeSheet.removeKeyMap(GcSpread.Sheets.Key.down, false, false, false, false);