ClipboardConfig
Configuration options for the clipboard plugin
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
includeHeaders? | boolean | Include column headers in copied text (default: false) |
delimiter? | string | Column delimiter character (default: ‘\t’ for tab) |
newline? | string | Row delimiter/newline character (default: ‘\n’) |
quoteStrings? | boolean | Wrap string values with quotes (default: false) |
processCell? | (value: unknown, field: string, row: unknown) => string | Custom cell value processor for copy operations |
pasteHandler? | PasteHandler | unknown | Custom paste handler. By default, the plugin applies pasted data to grid.rows starting at the target cell. |
Property Details
Section titled “Property Details”pasteHandler
Section titled “pasteHandler”Custom paste handler. By default, the plugin applies pasted data to grid.rows
starting at the target cell.
- Set to a custom function to handle paste yourself
- Set to
nullto disable auto-paste (event still fires) - Return
falsefrom handler to prevent default behavior
Default: defaultPasteHandler (auto-applies paste data)
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt