[]
Sheets.FormulaPanel.Commands
• closeHints: Object
Represents the command used to close hints.
property
execute - performs an execute operation.
example
//This example showing binding the closeHints command to the esc shortcut.
spread.commandManager().setShortcutKey("closeHints", 27);
Name | Type |
---|---|
execute |
(context : FormulaEditor ) => any |
• commitContentToActiveCell: Object
Represents the command used to commit content to active cell.
property
execute - performs an execute operation.
example
//This example showing binding the commitContentToActiveCell command to the ctrl-s shortcut.
spread.commandManager().setShortcutKey("commitContentToActiveCell", 83, true);
Name | Type |
---|---|
execute |
(context : FormulaEditor ) => any |
• exitEdit: Object
Represents the command used to exit edit.
property
execute - performs an execute operation.
example
//This example showing binding the exitEdit command to the esc shortcut.
spread.commandManager().setShortcutKey("exitEdit", 27);
Name | Type |
---|---|
execute |
(context : FormulaEditor ) => any |
• formatDocument: Object
Represents the command used to format document.
property
execute - performs an execute operation.
example
//This example showing binding the formatDocument command to the alt-shift-f shortcut.
spread.commandManager().setShortcutKey("formatDocument", 70, false, true, true);
Name | Type |
---|---|
execute |
(context : FormulaEditor ) => any |
• showHints: Object
Represents the command used to show hints.
property
execute - performs an execute operation.
example
//This example showing binding the showHints command to the ctrl-shift-whitespace shortcut.
spread.commandManager().setShortcutKey("showHints", 32, true, true);
Name | Type |
---|---|
execute |
(context : FormulaEditor ) => any |
• toggleAbsoluteRelativeReferences: Object
Represents the command used to toggle absolute/relative references.
property
execute - performs an execute operation.
example
//This example showing binding the toggleAbsoluteRelativeReferences command to the f4 shortcut.
spread.commandManager().setShortcutKey("toggleAbsoluteRelativeReferences", 115);
Name | Type |
---|---|
execute |
(context : FormulaEditor ) => any |