Skip to content
Spreadsheet Engine

TableBlockedOperation

type TableBlockedOperation = "insert-cells" | "delete-cells" | "sort";

The kind of edit a TableEditBlockedError refusal is about, for programmatic handling (e.g. a localized message) by the host application:

  • insert-cells --- a bounded insertCells whose shift would move only part of the table;
  • delete-cells --- a bounded deleteCells taking part of the table without removing whole table rows or whole table columns, or whose shift would move only part of it;
  • sort --- a sortCells whose range reaches outside the table’s data body, or covers only part of its columns.