[]
        
(Showing Draft Content)

GC.Spread.Sheets.FormulaPanel.Commands

Namespace: Commands

Sheets.FormulaPanel.Commands

Table of contents

Variables

Variables

closeHints

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);

Type declaration

Name Type
execute (context: FormulaEditor) => any

commitContentToActiveCell

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);

Type declaration

Name Type
execute (context: FormulaEditor) => any

exitEdit

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);

Type declaration

Name Type
execute (context: FormulaEditor) => any

formatDocument

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);

Type declaration

Name Type
execute (context: FormulaEditor) => any

showHints

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);

Type declaration

Name Type
execute (context: FormulaEditor) => any

toggleAbsoluteRelativeReferences

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);

Type declaration

Name Type
execute (context: FormulaEditor) => any