EXAMPLES
Context menu
Right-click a cell, row number, or column header to open actions for that location and selection.
Continuous ranges support clearing, merging, and formatting. Whole-row and whole-column selections support bulk insertion and deletion. These actions are undoable.
Inventory sheet
Hover over Insert, Delete, Cell format, or Sort and filter to open a submenu. Shift+F10 also opens the context menu.
ts
createWorkbook(container, { contextMenu: true, snapshot });
// Enabled by default in presets; contextMenu: false disables it.
// Enable explicitly for the core: new CyExcelCore(container, { contextMenu: true, snapshot });
sheet.clearContents(); // Clear the continuous selection, retain styles; undoable