Static columnStatic maxCopyService.maxCopyCells = 5_000_000; // allow bigger copies
Static rowAsynchronously copies the content of a table to the clipboard.
The table model to copy from.
The selection model of the table.
The focus model of the table.
A promise that resolves with the copied text if successful, or rejects if an error occurs.
Returns the content to be copied based on the provided table model, selection model, and focus model.
The table model for data retrieval.
The selection model to determine the selected range.
The focus model to determine the focused cell.
A promise that resolves to the copied content as a string.
Throws an error if neither selection nor focus is defined.
Upper limit for the number of cells createContent copies (e.g. after Ctrl+A on a table with millions of rows). Larger selections are rejected instead of building a huge string and blocking the browser.